I have an ASP.NET content page. The HTML tag associated with the content page is declared in the master page. I need to add an attribute to the HTML tag from the content page. My problem is, I do not know how to access this HTML tag from the content page.
Can someone please tell me how to do this?
Thank you
I wrote a routine this morning that helps me get a handle on master page controls recursively up the master page hierarchy (if you’re using nested master pages). I implemented it as an extension method. Perhaps you’ll find it useful:
You could apply that like so: