Problems when upload File in Usercontrol

Thread is closed for posting
2 posts, 0 answers
  1. Ngoc
    Ngoc avatar
    1 posts
    Member since:
    Jun 2011

    Posted 25 Jun 2011 Link to this post

    Hello everybody,

    Please help me :(
    I build a page with TabStrip, TabStrip has MultiPages, each page is added user control(The control is add inside code in file .cs of page with function RadMultiPage1_PageViewCreated).
    In one TabPage, I import a Radupload RadUpload1 to upload files to server, and a Button btnUpload for submitting Upload File. After selecting File, clicking Button, the first thing which is done is function RadMultiPage1_PageViewCreated called again to reload all usercontrol, and then the function btnUpload_Click is called. But now, the RadUpload1 is reset, so, RadUpload1.UploadedFiles is null, all Files which I selected before are not catched in my code, not to uploaded to server.

    Please give me some solutions for this problem, men.

    Thanks very much for your help.
  2. Peter Filipov
    Peter Filipov avatar
    1028 posts

    Posted 29 Jun 2011 Link to this post

    Hello Ngoc,

    Please find attached a sample project which works at our side. Make sure that before the button submit no postback occurs.

    Kind regards,
    Peter Filipov
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top