XmlHttpPanel FileUpload issue

2 posts, 1 answers
  1. Soumya Joseph
    Soumya Joseph avatar
    13 posts
    Member since:
    Feb 2010

    Posted 15 May 2010 Link to this post

    I have an issue with XmlHttpPanel.Here I need to upload a file using FileUpload control.When i try to access the FileUpload from the ServiceRequest event of XmlHttpPanel the FileName of FileUpload(FileUpload1.FileName)becomes null.We have the same issue with RadAjaxManager also.Right now I need a solution for  XmlHttpPanel.So please help me with a solution.


  2. Answer
    Pero avatar
    1156 posts

    Posted 19 May 2010 Link to this post

    Hello Soumya,

    I believe the XmlHttpPanel is not suitable for this specific scenario, because it does not perform postbacks - it either uses ASP.NET client callbacks,  or WebServices to update its content. In this Microsoft help article, it is clearly stated that a postback is needed: Typically, the SaveAs method is called in an event-handling method for an event that raises a post back to the server.
    I am not sure whether it is possible to upload files using Ajax and FileUpload control, but you could use our RadAsyncUpload control to achieve the desired goal: http://demos.telerik.com/aspnet-ajax/upload/examples/async/monitorprogress/defaultcs.aspx.

    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top