accessing variables in Custom Control, defined in page.

G

Guest

Hi,

I just want to know , how can I find out programmatically the name of the
page thats holding the control. say for example I want to write different
title based on the page being displayed.

so if default.aspx is being displayed the 'header.ascx' would display the
title for default page and if the signin page is displayed I want to show
title for Sign-in page.

Any clue/
 
G

Guest

dotnettester said:
Hi,

I just want to know , how can I find out programmatically the name of the
page thats holding the control. say for example I want to write different
title based on the page being displayed.

so if default.aspx is being displayed the 'header.ascx' would display the
title for default page and if the signin page is displayed I want to show
title for Sign-in page.

Any clue/
 

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,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top