How to disable focus from textbox in RadUpload

Thread is closed for posting
8 posts, 0 answers
  1. Sharad Varshney
    Sharad Varshney avatar
    7 posts
    Member since:
    Nov 2006

    Posted 20 May 2008 Link to this post

    Hi,

    I am having problem in disabling the focus from the textbox of this RadUpload Control. We got this as a usuability bug from our test team. Can anyone help?

    Thanks,

    Sharad
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 23 May 2008 Link to this post

    Hi Sharad Varshney,

    If I understood correctly - you want to disable the text area (the input area) of the upload control, but allow the users to be able to click on the browse button. I am afraid this is not possible with the current implementation of the upload. We will consider this for the future versions of the control.
    I hope that this is not a major show-stopper for you.

    Sincerely yours,
    Veskoni
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 29 May 2008 Link to this post

    Hello Sharad,

    Indeed you can set the ReadOnlyFileInputs to True. This will lets you use only the Select button.

    I hope this helps.

    Sincerely yours,
    Veskoni
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Deepak
    Deepak avatar
    3 posts
    Member since:
    Apr 2011

    Posted 27 Sep 2011 Link to this post

    Hi Veskoni,

    Problem is still exist For RedUpload.

    RadAsyncUpload textbox still acting like a select button..

    Can you please post a solution to get me out this...
  6. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 30 Sep 2011 Link to this post

    Hi Deepak,

    RadAsyncUpload's textbox should behave as a browse button. It is not possible to stop that behaviour.
    It is possible, however, to hide the textbox with the following CSS:

    .RadUpload input.ruFakeInput
    {
        display: none;
    }


    Best wishes,
    Peter Filipov
    the Telerik team
    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 their blog feed now
  7. Reyaz
    Reyaz avatar
    35 posts
    Member since:
    May 2011

    Posted 14 Oct 2011 Link to this post

    Hi,

    how to disable text box when i am using rasnUploadCompanyLogo.Enabled = false;

    Button and text box  get disable but user still can write some text which is wrong.

    Suggest please, How i will stop to write if it is disable.

    Thanks ,
    Reyaz
  8. Reyaz
    Reyaz avatar
    35 posts
    Member since:
    May 2011

    Posted 14 Oct 2011 Link to this post

    We are using RadAsyncUpload not RadUpload. So please suggest for RadAsyncUpload.

     

  9. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 18 Oct 2011 Link to this post

    Hi Reyaz,

    You can use the following sample code to disable typing into the textbox:
    function pageLoad(){
        $telerik.$(".ruFakeInput").attr("disabled", "disabled");
    }

    Regards,
    Peter Filipov
    the Telerik team
    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 their blog feed now
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017