RadAsyncUpload TextBox

2 posts, 0 answers
  1. Agm
    Agm avatar
    26 posts
    Member since:
    Sep 2012

    Posted 23 Jul 2013 Link to this post


    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,

  2. Hristo Valyavicharski
    Hristo Valyavicharski avatar
    975 posts

    Posted 26 Jul 2013 Link to this post


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


    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?

    Hristo Valyavicharski
    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.
Back to Top