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

HTMLPlaceholder UrlLoaded fired when returning to RadTabControl tab with HTMLPlaceholder control

1 Answer 29 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
Lenka
Top achievements
Rank 1
Lenka asked on 21 Dec 2010, 05:38 AM
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.

1 Answer, 1 is accepted

Sort by
0
Lenka
Top achievements
Rank 1
answered on 21 Dec 2010, 07:18 AM
I found the answer to my problem !
The trick is to set KeepContentInMemory to true.
Tags
HTMLPlaceHolder
Asked by
Lenka
Top achievements
Rank 1
Answers by
Lenka
Top achievements
Rank 1
Share this question
or