By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,825 Members | 1,281 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,825 IT Pros & Developers. It's quick & easy.

accessing variables in Custom Control, defined in page.

P: n/a
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/

Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a


"dotnettester" wrote:
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/

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.