I have <input type="file"> inside RadAjaxPanel.
When I post back, I get no files on server side.
I tried the workaround you suggest:
but I get "Access is denied" error.
How can I upload a file within this rad ajax panel?
When I post back, I get no files on server side.
I tried the workaround you suggest:
<radscriptblock id="RadScriptBlock1" runat="server"> <script type="text/javascript"> // on upload button click temporarily disables ajax to perform // upload actions function conditionalPostback(sender, args) { if (args.get_eventTarget() == "<%= ButtonSubmit.UniqueID %>") { args.set_enableAjax(false); } } </script> </radscriptblock> <telerik:radajaxpanel runat="server" id="RadAjaxPanel1" clientevents-onrequeststart="conditionalPostback"> <telerik:RadUpload runat="server" id="RadUpload1" /> <asp:Button id="Button1" runat="server" text="Upload" /> </telerik:radajaxpanel>
but I get "Access is denied" error.
How can I upload a file within this rad ajax panel?