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

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

    Posted 29 Nov 2010 Link to this post

    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.
  2. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 30 Nov 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. bhuvana
    bhuvana avatar
    2 posts
    Member since:
    Oct 2010

    Posted 06 Dec 2010 Link to this post

    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.

  5. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 07 Dec 2010 Link to this post

    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.
Back to Top