hello,
i am using this snippet
it works find when i add the code on page, but when i use user control and use this code here error is coming
Response.ContentType = ContentType;
error
Error 2 'System.Net.Mime.ContentType' is a 'type' but is used like a 'variable' D:\Projects\VirtualEstimatorV1\VirtualEstimatorV1\usercontrol\project-files.ascx.cs 245 36 VirtualEstimatorV1