Unhandled Exception After The FilesSelected Event

2 posts, 0 answers
  1. Tom
    Tom avatar
    1 posts
    Member since:
    Jun 2006

    Posted 19 Jun 2009 Link to this post

    I made a test project and got everything working just as I wanted it with the RadUpload control. Great control, very helpful, love it.

    Then I decided I wanted to use the RadPageNavigation class to make a multi-page RIA. I have everything setup ok and can navigate between pages just fine, but now the RadUpload control doesn't work. I navigate to the page and it loads correctly, but as soon as I select files, it runs through the FilesSelected event with no problems and immediately after the sub, before hitting any of the other events (I added test subs for each of them with breakpoints to see if something else was causing the issue), it jumps to the Application_UnhandledException sub in App.xaml.vb and I can't figure out why. Is there something I'm not doing to enable the RadUpload control to work inside of the RadPageNavigation framework?
    Exception of type 'System.InvalidOperationException' was thrown.  
     
       at Telerik.Windows.Controls.RadUpload.ProcessSelectedFiles()  
       at Telerik.Windows.Controls.RadUpload.OnFilesSelected()  
       at Telerik.Windows.Controls.RadUpload.ShowFileDialog()  
       at Telerik.Windows.Controls.RadUpload.BrowseButton_Click(Object sender, EventArgs e)  
       at System.Windows.Controls.Primitives.ButtonBase.OnClick()  
       at System.Windows.Controls.Button.OnClick()  
       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)  
       at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)  
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName) 
  2. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 23 Jun 2009 Link to this post

    Hi Tom,

    Thank you for interest in the RadUpload control.

    Both controls are designed to work together. We created a small example (and attached to this thread) for your convenience - please preview it. If the problem in your application still persists please send it to us for further investigation.

    PS: You can attach files only in support tickets, i.e. in order to attach your application please open new support ticked.

    Regards,
    Ivan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
Back to Top