US: 1 Forum Ext JS 3. Page 1 of 2 1 2 Last Jump to page: Results 1 to 10 of Thread Tools Show Printable Version. Is there a way to download a file without window. The problem is when I use window. So I was trying to come up with an alternative to have the iframepanel open in a window, however, the user then has to close the window.
I introduced a delay to close the window, but if the request has not completed, then the download will not start. Alternatively, I tried doing a Ext. Ultimately, I just want the standard download window to download the file. Has anyone encountered this, and what the solution might be? I guess this will have to do Not the greatest implementation, but it works.
I picked this up in the forum some time ago. Use a LinkButton. I thought everyone had heard of it! If I use the LinkButton, I would need to invoke it rather than provide a display for it. I have a button that calls the download function of a list of downloads that need to be downloaded. Could you provide an example Animal how I might achieve this? It’s just a link. Click it, and download. Animal: The LinkButton seems like a more elegant way of requesting a download.
What is the function call to click it programatically, or what is the method I need to call – onClick , click. Force someone to download? Not exactly. I never want to force anyone to download. The user does have to click a button. It stores it in an array. I had to do a workaround to get this list, and sometimes this list changes as the user changes their criteria, and tracks which request is associated with another KML file, so it releases the KML file from memory because it becomes irrelevant.
What I would ideally like is to just give the resultant KML data within the Google Earth Plug-in sent to the user so as to not tax the system with another round-trip to the server, but it doesn’t behave like a download or at least I am not skilled enough to send it to the user like a download, even though the user already has the data. So the easiest and painless way is to send the urls to the server and download.
I have a function called download which essential does a window. That was the most easiest way of doing this, but now I have to contend with pop-up blockers. Well, an anchor is nice, but what I really want is just to be able to download the file without having to display each and every link. I already have a button that attaches to this function in the map panel. I figured that the way I am doing it now works just fine.
A request shouldn’t take more than 60 seconds, so in that time the request should be done, in the meantime the window will just sit in memory-hidden, and destroy itself on the delay. The KML format is not terribly difficult. But the above link did show you how to programmatically fire a DOM event. Page 1 of 2 1 2 Last Jump to page:. Quick Navigation Ext 3.
Direct Ext: 4. Similar Threads Window hide then close vs window close Problems re-opening the window. By zhegwood in forum Ext 3. By rockys in forum Ext 2. By mxu in forum Ext 2. All times are GMT The time now is PM.
All rights reserved. US: 1 [email protected]. Stay Connected Join our mailing list Subscribe. Services Professional Services Partners Training. Support Documentation Forum.