Problem with RadSplitter/RadPanel/Toolbar

2 posts, 0 answers
  1. Daniel
    Daniel avatar
    12 posts
    Member since:
    Jun 2010

    Posted 16 Jun 2010 Link to this post

    I have a master page that contains a RadSplitter with several rad panels and two toolbars (top and bottom).  When a content page is loaded, the master page uses an interface on the content page to determine what buttons should be available and on which toolbar.

    When a toolbar contains no buttons, I'd like to hide it and have the space reclaimed by the splitter.  Unfortunately, I have been running in circles because when I set the RadPanel's visibility to false, the application fails on a postback to show the toolbar again.  I consistently run into javascript errors where I see [null] is null or not an object.

    I'm using RadControls_for_ASP.NET_AJAX_2009_3_1208 and the browser is IE 7.  Is this a problem with redisplaying of CSS styles?
  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 21 Jun 2010 Link to this post

    Hi Daniel,

    At present, the visibility property of RadPane is not implemented and is not working properly. In order to show/hide a RadPane, I recommend you to use the client-side methods expand() / collapse(). As an alternative approach you can wrap the pane content with a <div> and change its display / visibility property.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top