I am receiving the following error when trying to upload multiple files .. I am able to upload single file with out any problem .
It's causing the problem only uploading multiple files..
Message: Unhandled Error in Silverlight Application [NativeHost_NotOnUIThread]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60310.0&File=System.Windows.dll&Key=NativeHost_NotOnUIThread at System.Windows.Hosting.NativeHost.VerifyThread()
at System.Windows.Browser.HtmlPage.VerifyThreadAndEnabled()
at System.Windows.Browser.HtmlPage.get_Document()
at EWBCRadUpload.EWBCUpload.RadUpload1_FileUploadStarting(Object sender, FileUploadStartingEventArgs e)
at Telerik.Windows.Controls.RadUpload.OnPreviewFileUploadStarting(Object sender, FileUploadStartingEventArgs e)
at Telerik.Windows.Controls.RadUpload.OnFileUploadStarting(Object sender, EventArgs e)
at Telerik.Windows.Controls.UploadDispatcher.OnStarting(FileUploadStartingEventArgs e)
at Telerik.Windows.Controls.UploadDispatcher.PrepareFileUploadStarting()
at Telerik.Windows.Controls.UploadDispatcher.UploadNextChunk()
at Telerik.Windows.Controls.UploadDispatcher.OnResponse(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
Can you please help.
Thanks,
Ajay