iFrame Content not Rendering with RadAjaxManager

5 posts, 0 answers
  1. Darren
    Darren avatar
    4 posts
    Member since:
    Sep 2008

    Posted 07 May 2010 Link to this post

    Hi,

    I have a page which contains a drop down list and a control from Atalasoft which is essentially an image viewer.

    The Atalasoft control has its own AJAX and when it renders it'll render with iFrames in it. The control is also in an ASP.NET panel.

    I've set the AJAX Manager to update the panel whenever the drop down list selection changes.

    Unfortunately, the content within the Atalasoft control's iFrames is not rendered.

    Any help on this would be greatly appreciated.

    Thanks,
    Darren
  2. Darren
    Darren avatar
    4 posts
    Member since:
    Sep 2008

    Posted 11 May 2010 Link to this post

    Hi... Does anyone have a solution to this problem?

    Thanks,
    Darren
  3. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2289 posts

    Posted 12 May 2010 Link to this post

    Hello Darren,

    The behavior which you are experiencing is due to the fact that WebImageViewer control has overriden Visible property. This property is internally used by RadAjax infrastructure in order to wrap ajaxified control inside UpdatePanel.

    To workaround this behavior you can wrap WebImageViewer control instead regular ASP.NET Panel control and set that Panel as UpdatedControls instead of the viewer itself. Other options could be to user RadAjaxPanel instead of RadAjaxManager. For your convenience I am attaching sample application demonstrating exactly this scenario.

    I hope this helps.

    Greetings,
    Nikolay
    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.
  4. Darren
    Darren avatar
    4 posts
    Member since:
    Sep 2008

    Posted 12 May 2010 Link to this post

    Thanks for the response. I'm actually not using the WebImageViewer but the WebThumbnailViewer and WebAnnotationViewer controls. These controls are in an ASP.NET panel and the RadAjaxManager does update just the panel, as I said my original post. I'm using the RadAjaxManager as opposed to an AJAX panel because this page can be rather large and I wish to optimize it for best performance. RadAjaxManager seems to be the best fit since user events will update specific controls rather than all the controls in an AjaxPanel. However, if there is way to achieve the same performance with an AjaxPanel that will fix the WebThumbnailViewer and WebAnnotationViewer, then I'm all ears.

    Thanks,
    Darren
  5. Darren
    Darren avatar
    4 posts
    Member since:
    Sep 2008

    Posted 12 May 2010 Link to this post

    Hi,

    I've gotten it to work now. Before I had both the Atalasoft controls in the same ASP.NET panel along with some HTML. Even though I had the RadAjaxManager updating the panel, this does not did work. What got the page to work was putting each of the Atalasoft controls in their own ASP.NET panel with no other markup. The RadAjaxManager would of course update these two panels individually.

    Thanks for the assistance!
    -Darren
Back to Top