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

RadAsyncUpload TextBox

1 Answer 41 Views
This is a migrated thread and some comments may be shown as answers.
Agm
Top achievements
Rank 1
Agm asked on 23 Jul 2013, 07:39 PM
Hi,

I want to set Text for TextBox in RadAsyncUpload control (not for Button)

If possible, when databinding i want to set the text for that.

Thank you,

Regards,
AGMRAJA

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 26 Jul 2013, 02:33 PM
Hi,

Text field of  RadAsyncUpload is an input element. It can be set only on the client. For example: 

$('.ruFakeInput.radPreventDecorate').val("TEXT");

To set text value on the server you could hide the default input and add text box which could be bound:
<telerik:RadTextBox ID="txtAsyncUpload" runat="server" Text="RadAsyncUpload"/>
<telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" HideFileInput="true"></telerik:RadAsyncUpload>
Note that RadAsyncUpload does not have DataBound event, do you meant to change it's text on DataBound event of other control?

Regards,
Hristo Valyavicharski
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.
Asked by
Agm
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or