C# equivalent of javascript to expand pane

2 posts, 0 answers
  1. Matt
    Matt avatar
    23 posts
    Member since:
    Mar 2011

    Posted 12 Apr 2012 Link to this post

    In javascript I can do this to expand a pane.

    function expandPane(paneID)
        {
            var splitter = $find("Radsplitter1");
            var pane = splitter.getPaneById(paneID);
            pane.expand();
        }

    How can I do the same thing from C# code behind?
  2. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 13 Apr 2012 Link to this post

    Hi,

    The following blog post could be helpful for your scenario: Executing JavaScript function from server-side code.

    Greetings,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top