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

How to disable focus from textbox in RadUpload

7 Answers 466 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Sharad Varshney
Top achievements
Rank 1
Sharad Varshney asked on 20 May 2008, 06:08 PM
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

7 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 23 May 2008, 12:52 PM
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
0
Veselin Vasilev
Telerik team
answered on 29 May 2008, 03:14 PM
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
0
Deepak
Top achievements
Rank 1
answered on 27 Sep 2011, 11:53 AM
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...
0
Peter Filipov
Telerik team
answered on 30 Sep 2011, 08:57 AM
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
0
Reyaz
Top achievements
Rank 1
answered on 14 Oct 2011, 11:33 AM
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
0
Reyaz
Top achievements
Rank 1
answered on 14 Oct 2011, 12:54 PM
We are using RadAsyncUpload not RadUpload. So please suggest for RadAsyncUpload.

 

0
Peter Filipov
Telerik team
answered on 18 Oct 2011, 09:12 AM
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
Tags
Upload (Obsolete)
Asked by
Sharad Varshney
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Deepak
Top achievements
Rank 1
Peter Filipov
Telerik team
Reyaz
Top achievements
Rank 1
Share this question
or