468,736 Members | 1,832 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,736 developers. It's quick & easy.

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 1057
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 zhoujie | last post: by
2 posts views Thread by xarzu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.