RadAsyncUpload - resizing the "Select" Button

Thread is closed for posting
5 posts, 0 answers
  1. Dan
    Dan avatar
    11 posts
    Member since:
    Dec 2013

    Posted 10 Dec 2013 Link to this post

    Hello, all,
    I have another newbie question about the RadAsyncUpload Control.  I have successfully changed the text of the "Select" Button portion of the Control (thanks to the help to Shinu Raj, using the following code).

    var upload = $find("<%=fileUploader.ClientID %>");
    $('.ruBrowse').val("Search for Claim Documentation");


    I then tried to change the width of that Button, since the new Text is too long for the Button to contain one of the following

    $('.ruBrowse').width = "100%";


    or

    $('.ruBrowse').width = "300px";


    Could someone help me to fix the problem I've created? (Text that is too long to fit within the RadAsyncUpload Button)

    Thanks...
  2. Dan
    Dan avatar
    11 posts
    Member since:
    Dec 2013

    Posted 10 Dec 2013 Link to this post

    Just a note:  I'm not interested in resizing the entire RadAsyncUpload Control, just the Button on the right of that Control.

    I have attached a screen capture of a Label, the RadAsyncUpload, and a Button, each on its own line in the browser window...
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dan
    Dan avatar
    11 posts
    Member since:
    Dec 2013

    Posted 10 Dec 2013 Link to this post

    I've found an answer at http://www.telerik.com/community/forums/aspnet-ajax/async-upload/increasing-size-of-upload-button-in-radasyncupload.aspx, but I haven't gotten the Button to render quite right.  (At least all of the Button Text is visible now...
  5. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 13 Dec 2013 Link to this post

    Hello Dan,

    Please tale a look at the following help article where you can find detailed explanation and an example of how to customize the look of the button in the RadAsyncUpload control - Increase the Width of the Select Button.

    Regards,
    Kate
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  6. Dan
    Dan avatar
    11 posts
    Member since:
    Dec 2013

    Posted 13 Dec 2013 Link to this post

    Thanks, Kate...
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017