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

how to set the height of the upload container while clicking on Upload button

1 Answer 57 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
sandhya
Top achievements
Rank 1
sandhya asked on 06 Jun 2011, 01:04 PM
Hi

How to decrese the height of the uploadcontainer if i click on upload button in RAD File explorer.

My scenario is  if i click on upload button i am hiding the some block in upload container window. i.e

-------------------------------------------------------------------------------------------------------------------
Max file size allowed:
25.00 MB
File extensions allowed:
*.au, *.css, *.doc, *.docm, *.docx, *.dotm, *.dotx, *.flv, *.gif, *.htm, *.html, *.jar, *.jpe, *.jpeg, *.jpg, *.js, *.mov, *.mp2, *.mp3, *.mpa, *.mpv2, *.pdf, *.png, *.potm, *.potx, *.ppam, *.ppsm, *.ppsx, *.ppt, *.pptx, *.pptm, *.pptx, *.swf, *.txt, *.vsd, *.vss, *.xhtml, *.xlam, *.xls, *.xlsx, *.xlsb, *.xlsm, *.xlsx, *.xltm, *.xltx, *.xsd, *.zip

-------------------------------------------------------------------------------------------------------------------
But after hiding of this blcok desgin prob is coming.there is big space between upload button and upload window.

Thats the reason i want to descrese height of that upload container.Please find the attached image for prob.
I have done like this.but its nt effecting.

 

 

var objUploadWidnow = "RadWindowWrapper_"+ objUploadContainer +"_windowManagerfileExplorerUpload";

 

 

 

 

var stylePanel = $telerik.$(".RadWindow RadWindow_Default rwNormalWindow rwTransparentWindow", objUploadWidnow);

 

 

alert(stylePanel);

 

stylePanel.css(

 

"height", "200px");

please correct me where i have done wrng.Please reply me as soon as posible.

Thanks
Sandhya

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 07 Jun 2011, 04:44 PM
Hi sandhya,

The upload dialog is a RadWindow control and you can manually change its height by calling its set_height() client-side method.

You can find an example on how to access the RadWindow's client-side object and resize it in this forum thread.

Regards,
Dobromir
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
FileExplorer
Asked by
sandhya
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or