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

URGENT - Pls help - Unable to call iframe URL with a docking panel

3 Answers 48 Views
Dock
This is a migrated thread and some comments may be shown as answers.
bhuvana
Top achievements
Rank 1
bhuvana asked on 29 Nov 2010, 07:56 AM
Hi,

We want to call a iframe URL within a docking panel.  The iframe URL has some parameters that is passed in query string in order to fetch content relevant for a user that has logged in.

The problem we are facing now is that the URL within an iframe is not getting executed in the dock-panel and it keeps throwing error that the virtual path is invalid.  The iframe URL is an aspx page.

Please help us find a solution to this problem.  Thanks.

3 Answers, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 30 Nov 2010, 02:53 PM
Hello Bhuvana,

Could you please make sure you are passing a valid url that can be used by the browser? RadDock's ResolveUrl method can be used to pass the correct url.

For your convenience I have attached a sample project that demonstrates the desired behavior.

Kind regards,
Pero
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
bhuvana
Top achievements
Rank 1
answered on 07 Dec 2010, 05:57 AM
Hi Pero,

Thanks for the help.  We have been able to call an iframe URL within a dock panel.
However, now we are not able to save an user's instance to database.  Can you please
help us with that?

The scenario is this:  The portal home-page has got multiple dock panels and each
panel holds a different iframe URL.  User is able to customize the panels and save
the instance so that it can be retrieved the next time the user logs in.

Can you please help us with the logic to save a user's personalized instance to database?

Thanks in advance.

0
Pero
Telerik team
answered on 07 Dec 2010, 12:26 PM
Hi Bhuvana,

We have examples that show how to save the state of the RadDock control, but they show how to save the state of the dock, and not its content. None of the ASP.NET controls saves the state of the user (custom) added controls, and that's the case with the RadDock control also. The developer is the one who is responsible for saving the state of the dynamically added controls (content) into the RadDock.

In case you don't know how to save the DockState into DB, I believe the following links will be of help:

Greetings,
Pero
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Dock
Asked by
bhuvana
Top achievements
Rank 1
Answers by
Pero
Telerik team
bhuvana
Top achievements
Rank 1
Share this question
or