本文介绍了在Telerik Grid的NestedViewTemplate中获取文件UploadControlId的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Telerik网格,其中有一个NestedViewTemplate
因为我有一个文件上传控件.
我只想获得单击上传"按钮后要上传的上传控件ID和文件名.
我该怎么办?
在哪种情况下我可以拿到它?
Hi,
I am using a telerik grid in which I have a NestedViewTemplate
In that I have a file upload control.
I just want to get the upload Control ID and the filename that is being uploaded once the "Upload" button is clicked.
How can I get it?
Under which event I can get it?
<telerik:RadGrid ID="radgrdFiles" runat="server"....>
<MasterTableView>
<NestedViewTemplate>
<table>
<tr>
<td><asp:FileUpload ID="UploadFile" runat="server">
<td><pre lang="C#"><asp:ImageButton ID="imgbtnUpload" runat="server" CommandName="Upload"onclick="imgbtnUpload_Click">
</NestedViewTemplate>
</MasterTableView>
<专栏>
....
</列>
</telerik:RadGrid>
在此先感谢...
</NestedViewTemplate>
</MasterTableView>
<Columns>
....
</Columns>
</telerik:RadGrid>
Thanks in advance...
推荐答案
这篇关于在Telerik Grid的NestedViewTemplate中获取文件UploadControlId的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!