Dynamic tab with iframe as content

2 posts, 0 answers
  1. Ivan Yanitra
    Ivan Yanitra avatar
    1 posts
    Member since:
    May 2010

    Posted 29 Aug 2013 Link to this post

    Hi telerik,

    Could you give me some example or demo if i want create dynamic tab (add and delete tab) but my content is iframe.
    like this demo http://demos.telerik.com/aspnet-ajax/tabstrip/examples/application-scenarios/add-remove-tabs/defaultcs.aspx but using iframe.

    and i want :
    1. iframe know current tab
    2. when my tab on index 3, and then i click tab index 1. i want my iframe refresh.
    3. when i delete tab, i want current selected tab get refresh too.

    I try using demo and put iframe on asxc file, and cretae random number on iframe, this is step to replicate the issue:
    1. i'm on tab index 2, random number is 75
    2. and then i add new tab ( index 3). random number is 5
    3. and then i go back to tab index 2, on that tab random number become 5.
    Does the behaviour realy like that or is this an issue ?

  2. Nencho
    Nencho avatar
    1645 posts

    Posted 04 Sep 2013 Link to this post

    Hello Ivan,

    You you provide us with the approach that you use to load the iframes and their content in the RadPageVIews. Do you use the ContentURL property of the RadPageVIew, which uses an iframe to load the content? In addition, please refer to this thread, where several approaches for reloading (refreshing) the content of the iframes are listed.

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top