Using Response object in a .cs file

B

BlueSky

Hi All,
I am trying to use "Response.Redirect" in a class file (.cs)... I
inherited the class from "System.Web.UI. Page" and also imported
"System.Web" name space. I get the following error -
"System.Web.UI.Page.Response denotes a property where a class was
expected"

Am I missing some thing? Thanks in advance for any info.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,149
Latest member
Vinay Kumar Nevatia0
Top