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

RadSplitter with RadUpload Problem

3 Answers 64 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Dominic
Top achievements
Rank 1
Dominic asked on 03 Jul 2008, 09:58 PM
Hi

I have a page with a RadSplitter and 2 radPanes. In the left pane i have a simple RadTreeview and on the right side i have a RadUpload. The problem occur when i add multiple upload files. If i use the scroll bar in the RadPane the select items in the RadUpload become floating and if i dont use the scroll bar (wich i've tried to achive) im loosing the "ADD" button in the RadUpload, it becomes hidden under the Pane surface. My goal is only to be able to add multiple fileUpload and that the Pane resizes his height like a simple div or panel.

If you need more informations on my case , please let me know.

Thx in advance for your help.

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 08 Jul 2008, 10:23 AM
Hello Dominic,

I understand that you expect from the RadSplitter control to behave as a table - when the content in one of its cells exceeds its Height, the Height becomes equal to the Height of the content. However, the current version of the RadSplitter does not offer such functionality. You can use the clientside api of the control to achieve it 
  1. Handle the ClientLoaded event
  2. In the handler, calculate the Height of the content inside the RadPane and set the Height of the splitter to equal that value
You can find sample code here.


All the best,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Dominic
Top achievements
Rank 1
answered on 08 Jul 2008, 02:54 PM

Thanks for your answer.

I've tried to use your solution but i always receive this message :

The Controls collection cannot be modified because the control contains code block (i.e. <% %>).

Thanks for your help.
0
Svetlina Anati
Telerik team
answered on 08 Jul 2008, 03:27 PM
Hi Dominic,

Make sure that the javascript which contains the code block is placed in the form element which has runat=server attribute. If this does not help, please open a new support ticket and send a sample, fully runnable reproduction project.

All the best,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Splitter
Asked by
Dominic
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Dominic
Top achievements
Rank 1
Share this question
or