How to refer the web page of a UserControl

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
 
T

Teemu Keiski

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

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,124
Latest member
JuniorPell
Top