J
JezB
In my Page_Load event of all my web app Pages and UserControls I instantiate
the same library class "TextResources" (to take care of reading presentation
text strings from localizable resource files).
Within this class's constructor I want to deduce the name of the calling
control without having to pass it in. As this can either be a Page or a
UserControl I cannot use Request.URL since this only gives you the current
page.
Any ideas ?
the same library class "TextResources" (to take care of reading presentation
text strings from localizable resource files).
Within this class's constructor I want to deduce the name of the calling
control without having to pass it in. As this can either be a Page or a
UserControl I cannot use Request.URL since this only gives you the current
page.
Any ideas ?