Get RadSplitBar status, for server-side processing

Thread is closed for posting
1 posts, 0 answers
  1. 580CD692-028C-4E24-BE30-7082BF6FA598
    580CD692-028C-4E24-BE30-7082BF6FA598 avatar
    168 posts
    Member since:
    Nov 2006

    Posted 22 Dec 2006 Link to this post

    Requirements

    r.a.d.controls version

    RadSplitter 1.0.3    

    .NET version

    2.0

    Visual Studio version

    2005

    programming language

    VB.NET

    browser support

    all browsers supported by r.a.d.controls


     
    PROJECT DESCRIPTION
    Here is away to determine the status of a RadPane/RadSplitBar, so you can process it server-side, like saving it to a database or cookie as a user preference.

    Step 1 - create a .aspx webpage
    Step 2 - Add a RadSplitter, with 2 RadPanes and 1 RadSplitBar
    Step 3 - Add two attributes to the first RadPane:

    OnClientPaneCollapsed="OnClientPaneCollapsedHandler"

    OnClientPaneExpanded="OnClientPaneExpandedHandler"


    Step 4 - Add a hidden form field control
    Step 5 - Add a button control
    Step 6 - Add a label control
    Step 7 - Add the javscript code that puts the status of the Splitter in the hidden field.
    Step 8 - Add some server-side code to the button_click event, that puts the value of the hidden field in the label control.

    Good luck!


     

Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.