I have a RadAsyncUpload control embedded inside a CommandItemTemplate, we are upgrading from RadUpload. My problem is that the button appears in the command strip of the grid, but clicking the button does not bring up the FileOpen dialog. As far as I can tell, nothing happens at all. We are subscribed to the OnItemCommand event but we don't land there when clicking the button. This works OK with the RadUpload control.
Any suggestions? Code snippet below:
Any suggestions? Code snippet below:
<CommandItemTemplate> <table class="buttonsTable"> <tr> <td class="uploadButton"> <telerik:RadAsyncUpload ID="ulIosRedemptionInfo" runat="server" AllowedFileExtensions="xls" MaxFileInputsCount="1" ControlObjectsVisibility="None" OnClientFileUploaded="clientFileUploaded" OnFileUploaded="dgdRedemptionFileUploaded"> <Localization Select="Add" /> </telerik:RadAsyncUpload> <%-- <telerik:RadUpload AllowedFileExtensions=".xls" ID="ulIosRedemptionInfo" runat="server" ControlObjectsVisibility="None" OnClientFileSelected="iosRedemptionCodeFileSelected"> <Localization Select="Add" /> </telerik:RadUpload> --%> </td> <td> <asp:LinkButton ID="lbtnRefresh" runat="server" OnClick="lbtnRefresh_Click" Visible="false"><img style="border:0px;vertical-align:middle;position:relative;padding:0;" alt="" src="<%=this.ResolveUrl("~/Images/toolbar/refresh_grey_16.png")%>" /> Refresh</asp:LinkButton> <asp:LinkButton ID="lbtnInspect" runat="server" OnClientClick="showInspectWindow(); return false;" Visible="false"><img style="border:0px;vertical-align:middle;position:relative;padding:0;" alt="" src="<%=this.ResolveUrl("~/Images/toolbar/inspect.png")%>" /> Inspect</asp:LinkButton> <asp:LinkButton ID="lbtnDelete" runat="server" Visible="false" OnClick="lbtnDelete_Click" OnClientClick="return blockConfirm('Are you sure you want to delete these purchase orders?', event, 450, 100,'','Application Policy > Redemption Code');"><img style="border:0px;vertical-align:middle;position:relative;padding:0;" alt="" src="<%=this.ResolveUrl("~/Images/toolbar/delete.png")%>" /> Delete</asp:LinkButton> </td> </tr> </table> </CommandItemTemplate>