Block content refresh on PanelItem resize

2 posts, 0 answers
  1. Vassili King
    Vassili King avatar
    60 posts
    Member since:
    May 2010

    Posted 29 Sep 2010 Link to this post


    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!
  2. Yana
    Yana avatar
    4547 posts

    Posted 05 Oct 2010 Link to this post

    Hi Vassili,

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

    Best regards,
    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
  3. DevCraft R3 2016 release webinar banner
Back to Top