When the page loads that has my Splitter on it, it shows up as un-formatted. After a second or two, the page then changes to show the correct splitter panel layout. How can I change this so that it doesn't show the un-formatted splitter first? See attached screen shots...
8 Answers, 1 is accepted
Hello Joe,
Typically, that would happen if there are some runtime manipulations that lead to later initialization of the splitter scripts.
With only the snapshot, however, I am unable to identify what exactly might be causing that. Here, with this (http://demos.telerik.com/aspnet-mvc/splitter/index) the layout is loaded fine on page load.
Can you provide some sample markup or a simple project demonstrating the case so that I can take a better look at the situation you have?
Regards,Telerik by Progress
I have the same issue. I have a PartialView that flashes on the screen in the left pane before every view renders with the left pane hidden.
Joe, Did you ever get it to work correctly?
Hello Neil and Joe,
Typically, using AJAX to load up Kendo Widgets should commonly be accomplished by making sure that the widgets are being resized using the resize method.
When to use the resize method and in which scenario greatly depends on the layout of the application the DOM elements you are using in that layout.
Kendo widgets can get their wrapper elements' sizes and be able to redraw themselves properly. But with by rendering them using AJAX, there is no proper trigger that can possible be handled programmatically to properly render the widgets as per to the exact size of the layout.
Regards,Ianko
Telerik by Progress
Hello Joe,
Can you please provide a simple and locally runnable sample of the case you have on your end so that I can properly define the situation and the scenario you have? That way I would be able to properly investigate the behavior described.
Regards,
IankoTelerik by Progress