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

Binding text box to telerik upload control

1 Answer 185 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Amit
Top achievements
Rank 1
Amit asked on 11 Oct 2012, 09:43 AM
Hi All,

I want my textbox to display the name of file selected by telerik upload control. Please find the code snippet below.
  <td>
                                           
                                                @Html.TextBox(txtBox, null, new { style = string.Format("width:200px") })
                                            </td>
                                            <td style="padding-top: 1%; padding-left: 8%">
                                                @(Html.Telerik().Upload()
                                                .Name(BrowseButton)
        //.HtmlAttributes(new { @class = "myCustomClass" })
                                                .Multiple(false))

Currently the textbox is displaying null.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 11 Oct 2012, 11:42 AM
Hi Amit,

Please use the Upload events to achieve the desired behavior.

All the best,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Upload
Asked by
Amit
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or