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

Dynamic tab with iframe as content

1 Answer 228 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Ivan Yanitra
Top achievements
Rank 1
Ivan Yanitra asked on 30 Aug 2013, 04:26 AM
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.

Note: 
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 ?

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 04 Sep 2013, 07:57 AM
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.

Regards,
Nencho
Telerik
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.
Tags
TabStrip
Asked by
Ivan Yanitra
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or