Results 1 to 5 of 5

Thread: Donwload and open File in server side

  1. #1
    Sencha User
    Join Date
    Jul 2017
    Posts
    3
    Vote Rating
    0
      0  

    Default Donwload and open File in server side

    Hello guys,I´m not find the answer to my question. I use extjs v. 4.1 and i want through button click, open a file that is in network.Someone can help me pls ? Thanks a lot

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Vote Rating
    291
      0  

    Default

    Are you using the handler config?
    http://docs.sencha.com/extjs/4.2.6/#...on-cfg-handler

    Is your target file on a web server?

  3. #3
    Sencha User
    Join Date
    Jul 2017
    Posts
    3
    Vote Rating
    0
      0  

    Default

    I new in secha so i used
    Code:
                     {
                        xtype: 'filefield',
                        name: 'photo',
                        listeners: {
                            change: function(thiss, value, eOpts) {
                                alert(value);
                                //here place your ajax request
                            }
                        },
                        buttonOnly: true,
                        hideLabel: true,
                        /*msgTarget: false,*/
                        allowBlank: true,
                        buttonText: 'Consultar Ficheiro '
                    }

    but i get to open one which located on te network. My aplication run in several computers in network. Its better with button ? Without filefield?


  4. #4
    Sencha User
    Join Date
    Jul 2017
    Posts
    3
    Vote Rating
    0
      0  

    Default

    r

  5. #5
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Vote Rating
    291
      0  

    Default

    The file button opens a dialog of local files to upload. Is your network file not selectable?

Similar Threads

  1. Replies: 1
    Last Post: 24 Nov 2012, 6:31 AM
  2. Replies: 3
    Last Post: 7 Mar 2012, 4:42 AM
  3. PagedGrid server side logic open source on CodePlex
    By PicScout in forum Ext:User Extensions and Plugins
    Replies: 0
    Last Post: 17 Nov 2011, 7:53 AM
  4. [Solved]upload file to server side not work
    By kalpan in forum Ext 2.x: Help & Discussion
    Replies: 9
    Last Post: 15 Dec 2008, 12:28 AM
  5. [Solved]upload file to server side
    By kalpan in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 13 Dec 2008, 6:15 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •