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

Assistance with attempting to stop dock hosted IFrames refeshing.

1 Answer 16 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Paul Squance
Top achievements
Rank 1
Paul Squance asked on 10 Feb 2010, 04:13 PM

I am developing a portal application and many of the widgets required need to host other web applications.

I have implemented the dock handling in line with your current Telerik Dock myportal example.

Despite using a hidden update panel, a postback after (ajax) dock addition causes an existing control hosting IFrame or IE ActiveX control host to refresh.  Normal controls seem immune to this behaviour.

The same is true when moving docks.  I really need to be able to avoid the iframe based refreshment on dock movement. 

Are you aware of any techniques to avoid these characteristics and retaing browser state within the hosted controls!  Since I need to save dock states, avoiding dock.autopostback on completion of movement that processes OnSaveDockLayout="RadDockLayout1_SaveDockLayout" and implement some sort of client initiation of the state save?

 

You can see ajaxtester.aspx at https://www.alexsys.co.uk/sampleapps/dynaportal/ajaxtester.aspx .  If you load a browser widget, then a iframe widget.  Navigate away form the default URL in both widgets, the move them or add one of the telerik controls.  The iframe or browser hosting widgets, fresh to the default URL.

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 11 Feb 2010, 12:45 PM
Hi Paul,

The MyPortal example does not use the "hidden" UpdatePanel in the correct way and we will remove it from the demo as soon as we can. Please take a look at the following project from our Code Library: http://www.telerik.com/community/code-library/aspnet-ajax/docking/saving-state-of-dynamically-created-raddocks-in-database-using-hidden-updatepanel.aspx. It shows how to use "hidden" UpdatePanel to save the state of dynamically created RadDocks.

All the best,
Pero
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
Dock
Asked by
Paul Squance
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or