Hi, put an IFrame in the page and change the .src property to the file you want to download.
Regards, Michael On 7/7/06, Nitya Prakash <[EMAIL PROTECTED]> wrote: > > Thanks Albert, > > File will be loaded in same page and file download dialog box will > appear, but song stop playing in that page. My requirement page should > not be refreshed. I also don't want to open that page in another > window. Action should take place in very same page. > > Nitya > -------------------------------------------------------------------- > Albert Weinert wrote: > > Nitya Prakash schrieb: > > > > > I have created a page where Media player is embedded. A button is > > > placed on same page to download currently playing track. When user > > > click on download, than song shuld not stop playing and download dialog > > > box shuld appear. Page should not be refreshed. Is it possible with > > > AJAX scripting. > > > > It's possible with simple Html. > > > > <a href="pathtofile">Download</a> > > > > or > > > > <a href="pathtofile"><img src="pathtoimage.gif" border="0" /></a> > > > > > > -- > > Freundliche Grüße > > > > Albert Weinert > > > > http://der-albert.com > > > > > -- Best regards | Schöne Grüße Michael Microsoft MVP - Most Valuable Professional Microsoft MCAD - Certified Application Developer http://weblogs.asp.net/mschwarz/ http://www.schwarz-interactive.de/ mailto:[EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ajaxpro The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info -~----------~----~----~----~------~----~------~--~---
