Hello,
I have a RadPanelBar on an aspx page. The PanelBar has 3 RadPanelItems. Each PanelItem has a Silverlight control. Since Silverlight controls don't do a great job of resizing PanelItem, I'm doing it via JavaScript (i.e., my Silverlight controls set values of corrseponding hidden input fields on the aspx page, and JavaScript functions, set by a timer, look those values up and resize containers (the ones that pull .xap file in) inside of the appropriate PanelItems, thus effectively stretching the latter). This works fine except for one problem - every time the PanelItem is resized, its content reloads (that is, the Silverlight control inside of the PanelItem is completely reloaded and all the work done in the control is lost). Is there a way to preven PanelItem's content refresh/reload when the PanelItem is resized?
Thank you!
I have a RadPanelBar on an aspx page. The PanelBar has 3 RadPanelItems. Each PanelItem has a Silverlight control. Since Silverlight controls don't do a great job of resizing PanelItem, I'm doing it via JavaScript (i.e., my Silverlight controls set values of corrseponding hidden input fields on the aspx page, and JavaScript functions, set by a timer, look those values up and resize containers (the ones that pull .xap file in) inside of the appropriate PanelItems, thus effectively stretching the latter). This works fine except for one problem - every time the PanelItem is resized, its content reloads (that is, the Silverlight control inside of the PanelItem is completely reloaded and all the work done in the control is lost). Is there a way to preven PanelItem's content refresh/reload when the PanelItem is resized?
Thank you!