How to refer the web page of a UserControl

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

I am using vs2005 to develop web application.

How can refer the web page in a user control after I place the UserConrol in
a web page
 
Hi,

user control like every other control has Page property which lets you
access the Page containing the UC. Just note that it is of type
System.Web.UI.Page.
 

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

Back
Top