This is a migrated thread and some comments may be shown as answers.

Block content refresh on PanelItem resize

1 Answer 29 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Vassili King
Top achievements
Rank 1
Vassili King asked on 29 Sep 2010, 10:16 PM
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!

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 05 Oct 2010, 12:59 PM
Hi Vassili,

Could you please paste here a simplified version of your code so we can test this scenario? Thanks in advance

Best regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
PanelBar
Asked by
Vassili King
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or