Hello guys.
In my data grid edit form i have a RadioButtonList (which is not binded to a grid column!) and a radUpload control which is disabled by default.
I would like to have this radUpload control beeing enabled depending on the selected radio button.
I mean: the user selects an option and depending on his choose the radUpload control is enabled or disabled immediately.
Which settings do i have to make in the AJAX Manager? Where to handle the event in my VB ocde? How to update the edit form?
Any help is appreciated.
Cheers Roberto
<EditItemTemplate>
<asp:Label runat="server" ID="lblFileName" Text="Attached file: "></asp:Label>
<asp:Label ID="lblFileNameValue" runat="server" Text='<%# Eval("File name") %>'></asp:Label>
<asp:RadioButtonList ID="RadioButtonList1" runat="server" Font-Names="Arial" Font-Size="Small" RepeatDirection="Horizontal" AutoPostBack="True">
<asp:ListItem Selected="True">Keep file</asp:ListItem>
<asp:ListItem>Replace file</asp:ListItem>
<asp:ListItem>Delete file</asp:ListItem>
</asp:RadioButtonList>
<telerik:RadUpload ID="FileUpload" runat="server" Font-Size="Small" Enabled="false"
AllowedFileExtensions=".zip,.pdf,.txt,.rtf,.jpg,.bmp,.tif,.rar"
ControlObjectsVisibility="RemoveButtons"
InitialFileInputsCount="1" MaxFileInputsCount="1" Skin="Sunset" Width="400">
</telerik:RadUpload>
</EditItemTemplate>
In my data grid edit form i have a RadioButtonList (which is not binded to a grid column!) and a radUpload control which is disabled by default.
I would like to have this radUpload control beeing enabled depending on the selected radio button.
I mean: the user selects an option and depending on his choose the radUpload control is enabled or disabled immediately.
Which settings do i have to make in the AJAX Manager? Where to handle the event in my VB ocde? How to update the edit form?
Any help is appreciated.
Cheers Roberto
<EditItemTemplate>
<asp:Label runat="server" ID="lblFileName" Text="Attached file: "></asp:Label>
<asp:Label ID="lblFileNameValue" runat="server" Text='<%# Eval("File name") %>'></asp:Label>
<asp:RadioButtonList ID="RadioButtonList1" runat="server" Font-Names="Arial" Font-Size="Small" RepeatDirection="Horizontal" AutoPostBack="True">
<asp:ListItem Selected="True">Keep file</asp:ListItem>
<asp:ListItem>Replace file</asp:ListItem>
<asp:ListItem>Delete file</asp:ListItem>
</asp:RadioButtonList>
<telerik:RadUpload ID="FileUpload" runat="server" Font-Size="Small" Enabled="false"
AllowedFileExtensions=".zip,.pdf,.txt,.rtf,.jpg,.bmp,.tif,.rar"
ControlObjectsVisibility="RemoveButtons"
InitialFileInputsCount="1" MaxFileInputsCount="1" Skin="Sunset" Width="400">
</telerik:RadUpload>
</EditItemTemplate>