HTMLPlaceholder UrlLoaded fired when returning to RadTabControl tab with HTMLPlaceholder control

2 posts, 0 answers
  1. Lenka
    Lenka avatar
    4 posts
    Member since:
    Oct 2010

    Posted 20 Dec 2010 Link to this post

    I have an application with RadTabControl on the main page.  One of the tabs contains HTMLPlaceholder with URI set to a web page (all HTML, e.g. http://www.smh.com.au).  When I return to the page with HTMLPlaceholder, the URI is reloaded (URLLoaded even is fired) which results in loosing web page state (form data is lost, scrolling position is lost etc).  How do I stop URI being reloaded when the tab with the control gets the focus?  I know the issue is not caused by RadTabControl, it is HTMLPlaceholder as other HTMLPlaceholder like controls do not reload URI when the tab gets selected (using the same URI).
    Thank you.
  2. Lenka
    Lenka avatar
    4 posts
    Member since:
    Oct 2010

    Posted 21 Dec 2010 Link to this post

    I found the answer to my problem !
    The trick is to set KeepContentInMemory to true.
  3. DevCraft banner
Back to Top