And I think you need to add the
<%@ MasterType VirtualPath="~/MasterPage.master"%>
directive to the aspx page, right?
-Bill
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:e2****************@TK2MSFTNGP03.phx.gbl...
"Jester98x" <st**********@wdr.co.ukwrote in message
news:11**********************@k70g2000cwa.googlegr oups.com...
>>In VB
Dim objLabel as Label = CType(Master.FindControl("lblMyLabel"), label)
objLabel.Text = "Whatever you want"
And in C#:
((Label)Master.FindControl("lblMyLabel")).Text = "Whatever you want";