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

RadSplitter : Width Issue ?

3 Answers 137 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Suzi
Top achievements
Rank 1
Suzi asked on 05 Jun 2009, 08:23 AM
It is really strange, I have a radsplitter (width=100%) and tow radpanes. Inside the second radPane, I use a radTabStrip. Inside the second radTab, I use another radSplitter (width=100%). It really strange, but when I display the page, the first tab is well displayed, but the second tab which contains the second radsplitter have a width very very big. And when I do a postback, the second radsplitter is displayed correctly (width=100%). I don't understand.

I would like to refresh the content of the second tab to resolve my problem. But I don't know how to do,

Thank you,

Suzi. 

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 05 Jun 2009, 11:26 AM
Hi Suzi,

I am not sure about your exact setup, the problem and its reason but in case you want to update the
splitter I suggest to do this with a RadAjaxManager. You can find a KB article which shows how to update the splitter with RadAjax below:

http://www.telerik.com/support/kb/aspnet-ajax/splitter/controlling-the-behavior-of-radsplitter-or-a-splitter-pane-with-radajax.aspx

All the best,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Suzi
Top achievements
Rank 1
answered on 05 Jun 2009, 12:01 PM
I found my problem, I deleted that : RadPan2.Visible = false and RadPan2.Visible = true. It is working much better. RadPan 2 contains the RadTab and the second radSplitter. Is it working very well when the RadPan2 is always visible. It was very strange...
Thank you for your help,

0
Accepted
Svetlina Anati
Telerik team
answered on 05 Jun 2009, 12:11 PM
Hi Suzi,

We do not recommend to show/hide RadPanes by using the Visible property because it is inherited form the Control class and is not implemented. In order to show/hide panes, you should collapse/expand them.

However, since you have found a reasonable solution and it works fine, I recommend to stick to it.

Regards,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Splitter
Asked by
Suzi
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Suzi
Top achievements
Rank 1
Share this question
or