ASP.NET Splitter - Open URL in right panel from left panel

Use links in left panel

<a href="javascript:spl1.loadpage('RightContent', 'my_page.aspx')">My page</a>
<a href="javascript:spl1.loadpage('RightContent', 'http://www.domain.com/my_page.aspx')">My page</a>


Instead of link you can click on any other element:

<span onclick="spl1.loadPage('RightContent', 'http://www.domain.com/my_page.aspx')">My page</span>

See method loadPage for more options.

Set URL on server side

Set server property Url for any panel.

ASP.NET

    <obspl:Splitter runat="server">
        <LeftPanel>
            <Content Url="ContentPage.html">

VB.NET
   spl1.LeftPanel.Content.Url = "ContentPage.html"


See example

"Your editor is excellent! It feels robust, the styles work, everything works! Really nice to find good software - and software that really works as shown!"

David Sheardown

Random testimonial   All testimonials