Hybrid View

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    13
    Vote Rating
    0
    swapnilwarekar is on a distinguished road

      0  

    Post file select dialog.

    file select dialog.


    Hi folks,

    I want to get the complete path of file selected by user.
    How should i open the file dialog as follows.


    fileselect.JPG

    I want to open the dialog onclick event of any button or browse button.
    I don't want to upload file, but get file path for just records.
    How can i achieve this?
    please any suggestions.....

    Thanks,

    Swapnil Warekar

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    There is no real way for this. IE for example wont give you the path, it fakes it.

    You can try to use a FileUploadField and call getValue on it.

  3. #3
    Sencha User
    Join Date
    Sep 2010
    Posts
    13
    Vote Rating
    0
    swapnilwarekar is on a distinguished road

      0  

    Default


    Thanks sven. Is there any chances to add 'file open' and 'file save as dialogs' in future versions ?

  4. #4
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    No, because there are no html elements that are doing this. You will need to write some flash bridge or so.

Similar Threads

  1. Multi-Column select dialog
    By saragwyn in forum Ext 3.x: User Extensions and Plugins
    Replies: 1
    Last Post: 29 Sep 2010, 3:20 PM
  2. how to select multiple files from file upload dialog
    By rojar in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 16 Apr 2010, 5:54 AM
  3. File Dialog?
    By Steve973 in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 18 Dec 2009, 1:17 PM
  4. Replies: 1
    Last Post: 13 Jul 2009, 12:18 PM
  5. A dialog window to select and open File
    By hastiok in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 24 May 2009, 3:04 PM

Thread Participants: 1