Automatically Dock Pane on Expansion

3 posts, 0 answers
  1. Philip
    Philip avatar
    70 posts
    Member since:
    Apr 2008

    Posted 29 May 2009 Link to this post

    I was searching for a way to automatically dock a pane on expanding of the pane. I found the article below, but for some reason the javascript does not seem to be firing on the OnClientExpanded. Can somone point me in the right direction?



    telerik:RadSplitter id="RadSplitter1" runat="server" height="708" width="100%" CssClass="Splitter.Forest.css" ResizeMode="EndPane" BorderStyle="None" Skin="Forest" EnableEmbeddedSkins="False" >



    <telerik:RadPane id="Radpane1" runat="server" width="22" scrolling="None" minwidth="22" MaxHeight="708" >




    telerik:RadSlidingZone id="SlidingZone1" runat="server" width="22px" clicktoopen="true" >



    <telerik:RadSlidingPane id="MBOM" title="MBOM" runat="server" width="500px" MaxHeight="708" OnClientBeforeExpand="beforeExpand" >




    script type="text/javascript">



    function beforeExpand(sender,eventArgs)




    var slidingZone = $find("<%= SlidingZone1.ClientID %>");







    "Your text in the alert function.");







  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 30 May 2009 Link to this post

    Hello Philip,

    I build up a test demo based on your code but unfortunately to no avail - I could not reproduce the problem and the event is fired as well as the alert message gets called. Would you please examine my test demo which is attached to the thread and tell me whether I am missing something?

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Dmitry
    Dmitry avatar
    1 posts
    Member since:
    Jun 2009

    Posted 01 Jun 2009 Link to this post

    Hey Philip,

    Check for sure that you have the javascript function code going after declaring the sliding zone.
Back to Top