File Upload Dialog

Page 4 of 4 FirstFirst ... 234
  1. #31

    RE: File Upload Dialog

    How to restrict it to add only one file and how to get uploaded fileName
  2. #32

    RE: File Upload Dialog

    FYI - The <ext:FileUploadField> has been added to the upcoming v0.8 release.

    Not a fancy as this File Upload Dialog, but does provide solid functionality.

    A FileUploadField sample has been committed to the examples explorer in svn, see

    trunk\Coolite.Examples\Examples\Form\FileUploadFie ld\Basic\

    I'll link to the live example as soon as we publish v0.8 of the Examples Explorer.


    Geoffrey McGill
    Founder & CEO
  3. #33

    RE: File Upload Dialog

    Has anyone tried this with an MVC project? I am struggling to get it working properly. I can see that the control is being rendered into the page okay but the script that creates the javascript object is not being rendered.
  4. #34

    RE: File Upload Dialog

    Sorted it, I had no form tag. Now I just need to get the icons passing through MVC routes.
  5. #35

    RE: File Upload Dialog

    I have got it all working now.

    I did find a few bugs when getting everything working how I wanted. In FileUploadModule.cs, about Line 107 in OnProcessPostFile the following line:

    Context.Response.Write(string.Format("{'success':false,'error':\"{0}\"}", Coolite.Utilities.StringUtils.Enquote(e.Message)));

    should read (note the double escaping on {{ and }}):

    Context.Response.Write(string.Format("{{'success':false,'error':\"{0}\"}}", Coolite.Utilities.StringUtils.Enquote(e.Message)));

    The next problem I am trying to fix is that this data is put into the stream but then a ThreadAbortException occurs on Context.Response.End() which causes the Exception HTML to be put into the response (attempted to modify headers) which then measns the JSON object is broken on the client.

  6. #36

    RE: File Upload Dialog

    Are you guys planning to update it to 1.0?

    To Geoff: Will you guys be officially including it in 1.0?
  7. #37

    RE: File Upload Dialog

    Hi ,
    Hello I'm testing your upload but returns this error

    A Control with an ID of "ctl00_content_FileUploadDialog1" has already been initialized. Please ensure that all Controls have a unique id.

    The following Control has the same ID as at least one other Control on the Page. All Controls must have a unique ID.

    Control Details

    ID: FileUploadDialog1.
    ClientID: ctl00_content_FileUploadDialog1
    Type: FileUploadDialog

    Parent Control Details

    ID: content
    ClientID: ctl00_content
    Type: ContentPlaceHolder

    by chance do you know why?

    Thanks a lot
  8. #38

    RE: File Upload Dialog

    Hi all.
    I want to create web user control with type: upload multi file which use on the page (not dialog ).
    This control have function same as File Upload Dialog but i want to use it on a page.
    Thanks for help.
  9. #39
    Hi All.

    I run this project. When use Upload Dialog of Server Control. I can't drag and move more than on full screen. I only move limited on screen.
    When use Upload Dialog of Javascript. I can drag and move everyplace on screen. How to change and fix to move every place on screen with Upload Dialog when using Server Control ?
  10. #40

    v2.0 MVC Support

    Is this implementable in v2.0 for MVC? I tried to port it over but the coolite and references don't quite port over
Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. [CLOSED] multiple file upload and file size at client side
    By mirwais in forum 1.x Legacy Premium Help
    Replies: 24
    Last Post: Dec 15, 2014, 5:44 AM
  2. Replies: 1
    Last Post: Jun 23, 2011, 9:37 AM
  3. [CLOSED] File Dialog on Image Click
    By jwf in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: May 21, 2011, 10:03 AM
  4. [CLOSED] file upload - file name is empty
    By stoque in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 11, 2011, 8:06 PM
  5. Replies: 5
    Last Post: Oct 16, 2008, 8:18 PM

Posting Permissions