This is a migrated thread and some comments may be shown as answers.

Problem with RadSplitter/RadPanel/Toolbar

1 Answer 44 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 16 Jun 2010, 07:09 PM
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?

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 21 Jun 2010, 11:40 AM
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.

Greetings,
Dobromir
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
Tags
Splitter
Asked by
Daniel
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or