find RadPane on client side

3 posts, 0 answers
  1. Shen Li
    Shen Li avatar
    13 posts
    Member since:
    Sep 2006

    Posted 14 Feb 2013 Link to this post

    hi Telerik,

    I try to call $find('<%= radPane1.ClientID %>') after page is rendered on client side javascript function, but it is always null -- can't find it. Any idea what i did wrong?

    thanks,

    roger
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 14 Feb 2013 Link to this post

    Hi,

    Try accessing the pane as shown below.
    JS:
    function OnClientClick()
     {
            var spl = $find("<%=RadSplitter1.ClientID%>");
            var pane=spl.GetPaneById("RadPane1");
    }

    Thanks,
    Shinu
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Shen Li
    Shen Li avatar
    13 posts
    Member since:
    Sep 2006

    Posted 15 Feb 2013 Link to this post

    hi Shinu,

    Thanks for your support!

    I figured out that calling the $find function in pageLoad() works as telerik Rad Controls are created on the Sys.Application.init event.

    thanks,

    roger
Back to Top