[CLOSED] how to open file save dialog from click in image ?

  1. #1

    [CLOSED] how to open file save dialog from click in image ?

    hi!
    how to open file save dialog from click image control ?
    Last edited by Daniil; Apr 15, 2014 at 11:16 PM. Reason: [CLOSED]
  2. #2
    Hi @jhenriquecosta,

    Do you mean the save dialog which appears if right click an image and choose "Save Image As..."?
  3. #3
    I want to upload images from a click on the image component!

    i try... and not run!

    <%@ Page Language="C#" %>
     
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.Net Example</title>
    </head>
    <body>
        <form runat="server">
        <ext:ResourceManager runat="server" />
        <ext:FileUploadField ID="FileUploadField1" runat="server" Hidden="true" />
        <ext:Image ID="Image1" runat="server" ImageUrl="someUrl">
            <Listeners>
                <Click Handler="FileUploadField1.fileInput.dom.click();" />
            </Listeners>
        </ext:Image>
        </form>
    </body>
    </html>
    Last edited by Daniil; Apr 07, 2014 at 4:14 PM. Reason: Please use [CODE] tags
  4. #4
    Please clarify do you need to upload a file to your server or save to a client machine?
  5. #5
    sorry!
    upload file to server!
  6. #6
    I am afraid there is no way to upload a file without a user choosing a file to upload in a standard browser dialog.

Similar Threads

  1. Replies: 2
    Last Post: Aug 02, 2013, 2:43 AM
  2. [CLOSED] Show Open/Save File Dialog box and hide Ext.Net Window
    By jtorkels in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 12, 2013, 3:45 PM
  3. Replies: 1
    Last Post: Nov 02, 2012, 4:07 AM
  4. Save as dialog on client side for image
    By vishal.jhala@gmail.com in forum 1.x Help
    Replies: 0
    Last Post: Aug 06, 2011, 8:02 PM
  5. [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

Posting Permissions