I am using RadAsyncUpload which is defined like this
and i have a asp.net button defined like this
Now it works and it uploads the file , but now i want to have a Progress Bar , so like other controls i did the following
if i add this Ajax code , my Upload does not work , it give me the Following Error
Thanks
<telerik:RadAsyncUpload ID="FileUpload1" runat="server" Skin="Forest" Width="272px"></telerik:RadAsyncUpload>and i have a asp.net button defined like this
<asp:Button ID="btnUpload" Width="180px" Height="30px" runat="server" Text="Upload" onclick="btnUpload_Click" />Now it works and it uploads the file , but now i want to have a Progress Bar , so like other controls i did the following
<telerik:AjaxSetting AjaxControlID="btnUpload"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="btnUpload" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl> <telerik:AjaxUpdatedControl ControlID="FileUpload1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl> <telerik:AjaxUpdatedControl ControlID="lblMessage" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl> </UpdatedControls></telerik:AjaxSetting>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
if i add this Ajax code , my Upload does not work , it give me the Following Error
Uncaught TypeError: Cannot read property 'id' of undefined and chrome gives more info like Uncaught TypeError: Cannot read property 'id' of undefined Telerik.Web.UI.WebResource.axd:2889Telerik.Web.UI.RadAjaxControl._initializeRequest Telerik.Web.UI.WebResource.axd:2889H.z.callBaseMethod Telerik.Web.UI.WebResource.axd:3Telerik.Web.UI.RadAjaxManager._initializeRequest Telerik.Web.UI.WebResource.axd:3463(anonymous function) Telerik.Web.UI.WebResource.axd:3(anonymous function) Telerik.Web.UI.WebResource.axd:3H.w.raiseEvent Telerik.Web.UI.WebResource.axd:3e._onFormSubmit Telerik.Web.UI.WebResource.axd:9e._doPostBack Telerik.Web.UI.WebResource.axd:9(anonymous function) Telerik.Web.UI.WebResource.axd:3onclickThanks
