
I'm attempting to implement RadSplitter in full screen mode for my site. I have everything working well, but am somewhat dissapointed with the delay that occurs until the page is laid out correctly.
I have gone ahead and used the VisibleDuringInit, which also works well, but I'm actually trying to address the delay itself.
When viewing the online demo that shows full screen, there is a .5 - 1 second delay before the page fully adjusts. In the "classic" RadSplliter demo, this works really well and fast.
It seems to me that something in the underlaying architecture is causing the delay before the layout functions kick in.
Is there any way to speed this up and have it more quickly like the "classic" RadSplitter did? I really want to use the control, bit this lag makes the web site itself feel slow, which is not the case.
Thanks,
Chris
8 Answers, 1 is accepted
Please wrap the content of the RadPanes in the following DIV element - that should fix the slow loading problem:
<DIV RadResizeStopLookup="true" RadShowStopLookup="true" > |
<!-- place the pane content here> |
</DIV> |
We recently found a problem with the VisibleDuringInit property when used with nested RadSplitters. The problem that I refer to is the following - the nested RadSplitter initializes first and becomes visible. After that, the parent RadSplitter calculates its size (at this point it is not visible) and resizes its child splitter (at this point it is visible). We have prepared a workaround that you can use for the time being until we are able to fix the problem. Please have a look at the code bellow that demonstrates the idea:
<body style="margin: 0px; height: 100%"> |
<form runat="server" style="height: 100%"> |
<asp:ScriptManager runat="server"> |
</asp:ScriptManager> |
<telerik:RadSplitter OnClientLoaded="MainSplitterLoaded" ID="_dispatchSplitter" Skin="Web20" runat="server" Visible="true" |
Height="100%" Width="100%" Orientation="Horizontal" > |
<telerik:RadPane ID="_dispatchTop" runat="server" Height="70px"> |
</telerik:RadPane> |
<telerik:RadSplitBar ID="_topSplitBar" runat="server" CollapseMode="forward"></telerik:RadSplitBar> |
<telerik:RadPane ID="_dispatchMain" runat="server" Scrolling="None"> |
<telerik:RadSplitter ID="_dispatchSubSplitter" Skin="Web20" runat="server" Orientation="Vertical" |
VisibleDuringInit="false" Visible="true"> |
<telerik:RadPane ID="_driversPane" runat="server" Width="150px"> |
</telerik:RadPane> |
<telerik:RadSplitBar ID="_splitBar1" runat="server" CollapseMode="forward"></telerik:RadSplitBar> |
<telerik:RadPane ID="_operatorList" runat="server" Width="100px" Scrolling="None"> |
</telerik:RadPane> |
<telerik:RadSplitBar ID="_splitBar2" runat="server" CollapseMode="forward"></telerik:RadSplitBar> |
<telerik:RadPane ID="_dispatchRight" runat="server" Scrolling="None"> |
<telerik:RadSplitter ID="_dispatchSubMainSplitter" Skin="Web20" runat="server" Orientation="Horizontal" |
VisibleDuringInit="false" Visible="true"> |
<telerik:RadPane ID="_timeTableSplitter" runat="server" Height="39" Scrolling="None"> |
</telerik:RadPane> |
<telerik:RadPane ID="_canvasPane" runat="server" Scrolling="None"> |
</telerik:RadPane> |
</telerik:RadSplitter> |
</telerik:RadPane> |
</telerik:RadSplitter> |
</telerik:RadPane> |
</telerik:RadSplitter> |
</form> |
<script type="text/javascript"> |
var mainSplitterElement = document.getElementById('RAD_SPLITTER_<%= _dispatchSplitter.ClientID %>'); |
mainSplitterElement.style.visibility = "hidden"; |
var nestedSplitterElement = document.getElementById('RAD_SPLITTER_<%= _dispatchSubSplitter.ClientID %>'); |
nestedSplitterElement.style.visibility = "hidden"; |
var nestedSplitterElement2 = document.getElementById('RAD_SPLITTER_<%= _dispatchSubMainSplitter.ClientID %>'); |
nestedSplitterElement2.style.visibility = "hidden"; |
function MainSplitterLoaded() |
{ |
mainSplitterElement.style.visibility = "visible"; |
nestedSplitterElement.style.visibility = "visible"; |
nestedSplitterElement2.style.visibility = "visible"; |
} |
</script> |
</body> |
Note that I have removed VisibleDuringInit=false for the RadSplitter controls. I hide the splitters manually, until the main splitter has finished loading.
In case this does not help, please open a new support ticket and send us a small, working project which reproduces the behavior and we will do our best to help.
All the best,
Svetlina
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center

when i use the div tag with the parameteres mentioned by you, I get the error the paarameters do not belogn to the div tag.
Is something else also to be done.
Please, accept my sincere apologies for not noticing the version of RadSplitter you are using.
In the 2008.1 415 version of the control the effect which was achieved by adding this DIV is part of the default behavior.
The VisibleDuringInit property now works correctly for nested splitters.
Therefore, what I can suggest is:
- Set the VisibleDuringInit property to false.
- You can display a loading panel which displays a proper animation while the page is loading. You can find more information how to do this here.
Georgi Tunev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center


The latest version of the controls is from SP2 and I suggest to download it from your Client.net account and to update your project. There we did a lot of improvements regarding ajaxified RadPanelBar and I believe they will help you.
Apart from that we are currently working on improving the RadSplitter control so it will perform much better compared to the current version. We will do our best to release the improved RadSplitter mechanism in one of the following updates.
Best wishes,
Georgi Tunev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center

I tried updating the Telerik controls to the latest version, but whoa! When I drop the new dll in my bin directory all my styles and everything get messed up big time! The splitters disappear etc...
Is there something I'm missing? In the past I just dropped the new dll into my site and things (generally) went quite smoothly from there....
Cheers,
Daron
Would you please provide the following information:
- What controls exactly you are using - RadControls for ASP.NET or RadControls for ASP.NET AJAX?
- Do you have your own custom styles and skins?
You should not experience problems after changing the dll file. There are some differences in the controls' HTML between the "Prometheus" suite and the RadControls for ASP.NET AJAX release but this should not influence your layout.
Sincerely yours,
Svetlina
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center