Try using Page.Master as your reference to the Master page, as long as the
MasterType directive is in your ASPX file. I haven't tried myself, but it
seems logical.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."
"PJ" <pj***@hotmail.com> wrote in message
news:iJ********************@speakeasy.net...
I am trying to get reference to a Master page from a web user control.
However, I cannot seem to even access the type. I have been referencing
the master page in forms by declaring the master attribute atop the .aspx
page. This works fine, but this attribute is not recognized in controls.
Thanks
~PJ