ASP.NET Splitter - Knowledge Base

« Back to Knowledge Base list

Load one panel from another

Q:

How can I load one panel from another? 

A:

If in the panel wasn't loaded another page using either URL property of loadPage method,
you can load a page to another panel using loadPage method like this:
JavaScript
spl1.loadPage('RightContent', 'SomePage.html');


Otherwise, if in the panel was already loaded another page, you can load a page to another
panel using loadPage method like this:
JavaScript
window.parent.spl1.loadPage('RightContent', 'SomePage.html');

"Can't wait to play with the new controls, you guys make my life so much easier with the controls. Keep up the great work."

Fuzzy