Click here to Skip to main content
15,882,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I want to send two or more files with the same response.Actually i want to send the "htm" file and its resources like "css" and image files in the same response.

C#
Response.ContentType = "text/HTML";
Response.Clear();
Response.TransmitFile(sFullHtmFilePath);
Response.End();
Posted
Comments
Just try to zip all the related files and transmit them with one go.
ahsanriaz1K 29-Nov-12 5:04am    
I want to display the "htm" file on browser on client side. Zipping will not work in this case.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900