471,343 Members | 1,109 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,343 software developers and data experts.

Need Help for Exporting Excel from Datagrid

I want to export the data from datagrid and i dont want to wait upt
the users to be prompted for save as dialog box to save the excel. i
should saved in the client [for example c:\downloads].
Pls help me in that.
thanks in advanc

s_a_ravi's Profile: http://www.msusenet.com/member.php?userid=61
View this thread: http://www.msusenet.com/t-186943512

Nov 19 '05 #1
1 1110
Browser security is going to keep you from accomplishing this in any
graceful manner. Writing files directly to the client machine from a
web application without user interaction is almost impossible these
days unless you set up a special trust from the browser. Thank
goodness, because I've had enough trouble with spyware getting on my
machine even with the tightening security restrictions.

If you're dealing with Internet Explorer only, I think that you might
want to look into "HTML Applications" (.hta files) which will enable
you to place client side scripts that can read and write to the client
machine. I think that you will need to set up a trust in IE for each
client to make this work.


Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Mike P | last post: by
5 posts views Thread by Neil | last post: by
7 posts views Thread by Stephen Noronha | last post: by
3 posts views Thread by | last post: by
reply views Thread by kanepart2 | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.