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

2 posts, 0 answers
  1. sandhya
    sandhya avatar
    12 posts
    Member since:
    May 2011

    Posted 06 Jun 2011 Link to this post


    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);







    "height", "200px");

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


  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 07 Jun 2011 Link to this post

    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.

    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.

Back to Top