Hi,
I am using asyncupload and i am having this error:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Thu, 19 May 2011 00:32:36 UTC
Message: Exception thrown and not caught
Line: 199
Char: 8
Code: 0
Message: Unhandled Error in Silverlight Application The remote server returned an error: NotFound. at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at UploadPrototype.MainPage.ProcessResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassd.<InvokeGetResponseCallback>b__b(Object state2)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Line: 1
Char: 1
Code: 0
Message: Unhandled Error in Silverlight Application Failed to Invoke: _onSilverlightError. at System.Windows.Browser.ScriptObject.Invoke(String name, Object[] args)
at UploadPrototype.EventManager.SilverlightError(String message, Int32 index)
at UploadPrototype.MainPage.<>c__DisplayClass1f.<ProcessResponse>b__18()
Line: 1
Char: 1
Code: 0
This is the control tag in my page:
<telerik:RadAsyncUpload ID="AsyncUpload1" runat="server" AllowedFileExtensions="xls,xlsx" MaxFileSize="524288" OnFileUploaded="AsyncUpload1_FileUploaded" OnClientValidationFailed="validationFailed"></telerik:RadAsyncUpload>
The control is in a user control deployed in sharepoint as webpart. This is the scriptmanager inside the masterpage of sharepoint:
<asp:ScriptManager id="ScriptManager" runat="server" EnablePageMethods="false" EnablePartialRendering="true" EnableScriptGlobalization="false"
EnableScriptLocalization="true">
<Scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
</Scripts>
</asp:ScriptManager>
I cannot include radscript manager in my user control as it is throwing an error saying that only a single scriptmanager should be on a page. Changing the asp scriptmanager control on the masterpage to radscriptmanager does not correct the error.
Any help on this is highly appreciated.
Thanks!