Advanced Forum Search Results
-
The problem does not come up when you bind the Combo box SelectedItem to a property of the source Item. If you want use Mode=TwoWay so that changes either way are propagated to one another.
-
I'm not sure if you have tried IIS compression yet. But this sure works good anytime any day.
Enable static and dynamic compression on IIS, and also add the "svc" tag to gzip (or deflate) section of the IIS metabase. Restart IIS and you should see the svc response getting gzipped every single time.
-
Usually I first set the SelectedItem to null before I set to the right Item in the DataSource.
See if this approach works for you too.
-
To answer your question, yes the ItemsSource does expose the structure, but not at compile time. You do a quick watch and you can see the structure for yourself. But if you try accessing it through the code, you will be returned with an object.
Unless you have a class matching the structure you cannot cast the object to any other type.
-
Use an IValueConverter for your Fontweight.
public class FontWeightConverter : IValueConverter
{
public object Convert(object value,
Type targetType,
object parameter,
CultureInfo culture)
{
return ? FontWeight.Bold ...
-
I faced this problem a long time back in SL2 and have since used this solution (works well with SL3 also)
implement a IValueConverter for the Height with the function returning "0" or "Auto" depending on the bitflag. Let me explain. I have a property (int) that indicates the state of the Visibility (0 Collapsed, 1 Visible). ...
-
I'm pulling my hair out. Why will a solution that worked for 2 not work for 3, atleast when rest of the functionality remains unaltered.
OK. this is my problem. I expand a DataGrid row and see the row details (which has another DataGrid - ofcorse). I change the sort on my column. Sorts just fine. But another row occupying its position now has ...
-
A crazy stupid hack that's worked for me most of the times. Set Windowsless property to false, and reduce the MaxFrameRate to a bare minimum.
-
I dont know if its a Silverlight thing or the ObservableCollection thing. Its happened with me too albeit not with the toolkit. I'm pretty sure its leaking memory. Also, did you check the Thread count from the Task Manager, before and after the browser stopped responding? In my case it keeps fluctuating.
-
Thanks for your update Mog. I tried my luck with the Silverlight 3.0 Beta release. to be honest, the grid in 2.0 seemed more functional than 3.0. All the promises remain unkept. Is this the go-live datagrid or is it being worked on?
My cases have just quadrupled on the enterprise App since my company took over 4 more hospitals. All tech machines ...