开发者

use Save File Dialog in Asp.net to save directly in Client PC [duplicate]

This question already has answers here: Closed 11 years ago.

Po开发者_运维知识库ssible Duplicate:

save as dialog in asp.net

i need to use SaveFileDialog in asp.net to save TextFile in Client PC. how can i do that ? i don't want to upload to server then download. i need to save in Client Pc Directly . Is there an alternative Control in asp.net


You could use Silverlight or Flash. However, in a web browser, it is NOT possible to run C#/ASP.NET code directly on the client. Keep in mind that your ASP.NET code runs on the server, not the client. The only way to save a file to the client PC would be to either use Silverlight/Flash (which both have equivalent controls), or require the client to download the file from the server.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜