[CLOSED] How to make FileuploadField work by renaming the selected file

  1. #1

    [CLOSED] How to make FileuploadField work by renaming the selected file

    Hi,

    In your example I didn't find the functionality to upload specific location by renaming the selected file. Once select the file it should move some predefined location with specified file name. can you please provide an example
    Last edited by Daniil; Mar 28, 2011 at 5:50 PM. Reason: [CLOSED]
  2. #2
    Hi,

    I don't understand the problem.

    Please clarify what you mean? Any examples of native Asp.Net upload field?

    I guess that you need to use Server.MapPath(), but I'm not sure.
    http://msdn.microsoft.com/en-us/libr...y.mappath.aspx
  3. #3
    also have same issue and example does not provide any code behind C# code to how to save upload file please if anyone has example code share with us
  4. #4
    We have not provided a sample how to upload a file, because it would look the same way how it looks in native Asp.Net.
  5. #5
    why this control also getting post back when we post file? can't we make this control like fully ajax supportive one? so what is the improvement features of between FileUploaderField and ASP.NET Native fileupload control?
  6. #6
    Hi,

    why this control also getting post back when we post file?
    Page is not reloaded during file upload. Ajax request cannot transfer a file therefore we use hidden iframe to submit the file

    can't we make this control like fully ajax supportive one?
    As I mentioned, ajax doesn't support file transfer but we don't reload the page during file submitting

    so what is the improvement features of between FileUploaderField and ASP.NET Native fileupload control?
    Ext.Net has client side API (events, UI like other Ext.Net controls), also it can participate in layout logic and form validations
  7. #7
    Hi Vladimir,
    It's Make me good sense and thanks for explanation i think page reload because of my configuration error thanks for your reply
  8. #8

    How to make FileuploadField work by renaming the selected file

    Hi gayancc,

    Just use following code to save file to location specified.

    FileUploadField1.PostedFile.SaveAs(<upload location path>)


    Quote Originally Posted by gayancc View Post
    also have same issue and example does not provide any code behind C# code to how to save upload file please if anyone has example code share with us
    Last edited by Daniil; Mar 28, 2011 at 5:50 PM. Reason: Please use [CODE] tags

Similar Threads

  1. Replies: 6
    Last Post: Jan 11, 2012, 9:52 AM
  2. [CLOSED] FileUploadField in class file
    By logicspeak in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 26, 2011, 2:40 PM
  3. [CLOSED] FileUploadField - cannot load twice the same file
    By voipswitch in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 16, 2011, 12:28 PM
  4. FileUploadField getting the selected file
    By miukarnain in forum 1.x Help
    Replies: 3
    Last Post: Apr 18, 2011, 9:57 AM
  5. FileUploadField file name
    By Kamal in forum 1.x Help
    Replies: 2
    Last Post: Jun 29, 2009, 1:01 PM

Tags for this Thread

Posting Permissions