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

RadSplitter inside a Radpane, how to expand/collpase pane?

1 Answer 16 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
S
Top achievements
Rank 1
S asked on 15 Aug 2011, 05:05 PM
I have a radpane, and inside I have a splitter.

I have a custom jquery function that when an icon is clicked, it shows/hides a html table.   The problem is when the table is visible, a scrollbar appears.  How can I auto-expand the radpane section and auto-shrink when the html table is shown/hidden?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 17 Aug 2011, 09:51 AM
Hi S,

You can use the RadPane's and RadSplitter's client-side API to modify their dimensions according to the size of your custom content. This KB article displays an example for getting content dimensions (if you do not know them beforehand) that is a good starting point for implementing your functionality. I hope the above information will help you achieve the desired effects.


Kind regards,
Marin
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
S
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or