ComboBox code updated to Beta2

Posted on June 11, 2008. Filed under: Silverlight |

Here is the source for combobox which works in Beta2. looks like there is bug in ContentPresenter .

 Jeff’s workaround seemed to have worked

Here is the source

Make a Comment

Make A Comment: ( 8 so far )

blockquote and a tags work here.

8 Responses to “ComboBox code updated to Beta2”

RSS Feed for Lee’s corner Comments RSS Feed

This works great, with one problem. When displayed in a Grid, the drop down list is clipped to the size of the cell in which the combo box is located.

I did not try using this in Datagrid. I think that is because the the items are not presented in Popup. I did not have any luck trying to place items in the popup

Is there any way i could use combo box inside grid or datagrid.?plz help me out..

Not as it is I could not make it work with a popup.
There is another Combobox written by SlAdapter, you can find it here
http://silverlight.net/forums/p/17779/63170.aspx#63170(look at last post). it uses popup.
That might work better in the datagrid. did not try it myself

Thanks

Thanks for the link.
Perhaps you can have a look at Datepicker control source code in beta 1. it uses poup to display calendar.

That was my initial thought , but the main difference is the popup in that case is containing only one child. here it has to be itemscontrol

I think Combobox from microsoft should not be far off. so I would rather wait for the correct implementation than some hack

Adding the combobox to a canvas will help you out, i have tried it and it is working fine.

Naveen,
Thanks for the hint


Where's The Comment Form?

Liked it here?
Why not try sites on the blogroll...