Hi,
I'm having problems with the views product under Silverlight: when using my custom panel or any of the other standard panels in the views, when one of the items added to the panel is a complex element, containing many subelements, the layout of that item is totally messed up, with everything all mashed together in a small space. At first I assumed that there was a problem in my code, but after searching and tracing everything I couldn't find any problems with my own custom controls. After making the panel less comlpex (i.e. removing some of the controls), it started working again occasionally, but not always. Then I tried recplacing the animated panel with a standard StackPanel and everything worked as it should, all the time, regardless of the complexity. It seems to me to be related to some timing issue that occurs on long layout (measure/arrange) cycles, perhaps related to the animation. I have the exact same code in WPF and that works without any problems. So my best guess is that theres some issue in the Silverlight version of the views product that is causing this. Any help would be greatly appreciated,
Regards,
Robert Croshere
I'm having problems with the views product under Silverlight: when using my custom panel or any of the other standard panels in the views, when one of the items added to the panel is a complex element, containing many subelements, the layout of that item is totally messed up, with everything all mashed together in a small space. At first I assumed that there was a problem in my code, but after searching and tracing everything I couldn't find any problems with my own custom controls. After making the panel less comlpex (i.e. removing some of the controls), it started working again occasionally, but not always. Then I tried recplacing the animated panel with a standard StackPanel and everything worked as it should, all the time, regardless of the complexity. It seems to me to be related to some timing issue that occurs on long layout (measure/arrange) cycles, perhaps related to the animation. I have the exact same code in WPF and that works without any problems. So my best guess is that theres some issue in the Silverlight version of the views product that is causing this. Any help would be greatly appreciated,
Regards,
Robert Croshere