Getting the currently executing Control in ASP.NET
Posted by: Rick Strahls WebLog,
on 19 Aug 2006 |
View original | Bookmarked: 0 time(s)
I’m in the middle of building a localization extender control that allows customizing how localization is applied in a data driven manner. One of the things the control does is track controls and they’re localization settings in data files with IDs that match the page or controls they live on and the control Id of that page or control (or master).
So one of the things I needed to do is to find – at runtime – the currently executing page OR user control or master page....