Anybody else having this problem or something similar, or is there any way we can figure out why this is happening?
Thank you.
6 Answers, 1 is accepted


Hi Alex, than you for your response. Well, we'd rather only use the RadControls for ASP.NET AJAX. After doing a view source of the page that is affected I noticed some differences. This is what it renders normally when everything shows up for the tabs:
<div id="rtsMainPanel"> |
<div id="rtsMain" class="RadTabStrip RadTabStrip_Web20 RadTabStripTop_Web20 " style="width:100%;"> |
<div class="rtsLevel rtsLevel1 rtsRight"> |
<ul class="rtsUL"><li class="rtsLI rtsFirst"><a class="rtsLink rtsSelected" href="#"><span class="rtsOut"><span class="rtsIn"><span class="rtsTxt">Dom</span></span></span></a></li><li class="rtsLI"><a class="rtsLink rtsAfter" href="#"><span class="rtsOut"><span class="rtsIn"><span class="rtsTxt">Trans</span></span></span></a></li><li class="rtsLI"><a class="rtsLink" href="#"><span class="rtsOut"><span class="rtsIn"><span class="rtsTxt">Int</span></span></span></a></li><li class="rtsLI rtsLast"><a class="rtsLink" href="#"><span class="rtsOut"><span class="rtsIn"><span class="rtsTxt">O</span></span></span></a></li></ul> |
</div><input id="rtsMain_ClientState" name="rtsMain_ClientState" type="hidden" /> |
</div> |
</div> |
And then after clicking on a tab and everything disappears, this is what the browser sees:
<div id="rtsMainPanel"> |
<div id="rtsMain" class="RadTabStrip RadTabStrip_Web20 RadTabStripTop_Web20 " style="width:100%;"> |
<input id="rtsMain_ClientState" name="rtsMain_ClientState" type="hidden" /> |
</div> |
</div> |
Both the RadTabStrip and RadMultiPage lose all of their content, but sometimes only the RadMultiPage will and the RadTabStrip wil still show up, although it will no longer load any of the user controls when clicking on them. Is there any way I can make sure this doesn't happen? Like I had mentioned previously, this behavior is very inconsistent as far as the steps we take to see it happen, but it happens most of the time. Thanks in advance.

I appreciate your point about only using one suite, as much as possible I try to do the same.
Would it be possible for you to post your code\html here? That way I can get a better idea. Anyway attached is the way I implemented a dynamic tabstrip using the tabstrip control, this is probably not the best way to do it but met all of my clients requirements.
Anyway one issue I found designing a dynamic wizard application was that a postback tended to cause undesired results with the tabstrip\pageframe, one of which was the tabpage blanking out. I also needed to provide an autosave option for when users moved between tabs on the form so my solution went smething like:
<telerik:RadTabStrip ID="rtsView" runat="server" Skin="Office2007" OnClientTabSelected="SelectNavigationTab" OnClientTabSelecting="SelectingNavigationTab" > |
<Tabs> |
</Tabs> |
</telerik:RadTabStrip> |
<div id="divDisplay" runat="server" style="width:100%;height:1000px"> |
<br /> |
<br /> |
No processes have been added. |
</div> |
JS like:
function SelectNavigationTab(sender, args) |
{ |
// Initialise |
var tabStrip = $find("<%= rtsView.ClientID %>"); |
var selectedTab = tabStrip.get_selectedTab(); |
var tabs = tabStrip.get_tabs(); |
ViewProcess(selectedTab.get_value()); |
} |
function SelectingNavigationTab(sender, args) |
{ |
if (window.frames.ifmDisplay) |
{ |
try { |
window.frames.ifmDisplay.Update(); |
} |
catch (error) |
{ |
Alert("An error occured trying to save the process. Error name: " + e.name + ". Error message: " + e.message); |
} |
} |
} |
Where the pages loaded within the iframe has a JS method "Update" to initiate a save
The View process routine sets the content of the iframe to the desired page:
document.getElementById(
'divDisplay').innerHTML = "<iframe name='ifmDisplay' scrolling='no' src='" + strURL + "' width='100%' height='2000px'></iframe>";
And of course I then added tab pages via the server side code.

Thanks!


function SelectNavigationTab(sender, args) |
{ |
// Initialise |
var tabStrip = $find("<%= rtsView.ClientID %>"); |
var selectedTab = tabStrip.get_selectedTab(); |
var tabs = tabStrip.get_tabs(); |
ViewProcess(selectedTab.get_value()); |
} |
I need to import any script file for this? Please help any one.