Rad Panel height modify

8 posts, 0 answers
  1. Mahendra s
    Mahendra s avatar
    10 posts
    Member since:
    Jul 2009

    Posted 09 Sep 2009 Link to this post

    Hi

    I would like to change the height of RAD Pane using javascript

    is there any code that i can use


    thanks
    MS
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 10 Sep 2009 Link to this post

    Hi Mahendra,

    Yes, you can easily change the width of a RadPane on the client by using its client API and the set_width method in particular which is listed below:

    http://www.telerik.com/help/aspnet-ajax/splitter_clientsideradpane.html

    All you should do is to obtain a reference to the particular RadPane either by using the $find method or through the splitter client object and call the set_width method. Note, however, that you can change the width of a RadPane only if it is in  a splitter which is with vertical orientation because when it is horizontal, you should change the width of the whole splitter.

    In case you need further assistance or have additional questions, do not hesitate to contact us again.


    Sincerely yours,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Prashanth
    Prashanth avatar
    1 posts
    Member since:
    Apr 2013

    Posted 05 Jun 2013 Link to this post

    Hi,

    The original poster has asked to set the "HEIGHT" and not the "WIDTH".
    This can be done using a javascript function:

    function resizeUI() {
            var pane= $find('<%= radPane.ClientID %>');
            pane.set_height(500);
        }


    It is funny that the support team replied about setting the width. It is even funnier that the list of client side API functions does not list set_height function at all.

    Hope this helps someone.
    Regards

  5. J2K
    J2K avatar
    33 posts
    Member since:
    Sep 2005

    Posted 27 Apr 2014 in reply to Prashanth Link to this post

    Thanks Prashanth, was having trouble finding the correct way of setting a pane's height using the client api.  
  6. Tom
    Tom avatar
    44 posts
    Member since:
    Oct 2010

    Posted 10 May Link to this post

    The set_height() client side function still is not documented in the online help.
  7. Vessy
    Admin
    Vessy avatar
    1382 posts

    Posted 13 May Link to this post

    Hi Tom,

    The set_height() method of the RadPane object is documented in its client-side API reference here:
    http://docs.telerik.com/devtools/aspnet-ajax/api/client/Telerik.Web.UI.RadPane#methods-set_height

    Let me know in case I can be of any further assistance on the matter.

    Regards,
    Vessy
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  8. Tom
    Tom avatar
    44 posts
    Member since:
    Oct 2010

    Posted 13 May in reply to Vessy Link to this post

    Thanks for the pointer, Vessy. I had expected to find it in the Splitter Controls client-side documentation here: http://docs.telerik.com/devtools/aspnet-ajax/controls/splitter/client-side-programming/radpane-object

    but I understand this to be a list of "most important"--and that definition is subjective.

    Perhaps one of the See Also links should be to the page you reference to remind us where to find the full list.

    Thanks again.

  9. Vessy
    Admin
    Vessy avatar
    1382 posts

    Posted 14 May Link to this post

    Hi,

    Thank you for the feedback, Tom. I cannot help but agree that adding links to the API reference of the corresponding Splitter objects will be really useful and will add them the "See also" resources.

    Have a great day!

    Regards,
    Vessy
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017