"Aussie Rules" <Au*********@nospam.nospamwrote in message
news:eO**************@TK2MSFTNGP05.phx.gbl...
Hi,
Within the code of a content page, how do you say set the .text value of a
label thats on the master page....
Thanks
Another solution is to have a class for your master page (say its called
myMP) with
properties. Then in you content code you do the following.
In master page code
Public Property MyLabelText() as string
Get
return MyLabel.Text
End Get
Set (MyLabelText as string)
MyLabel.text = MyLabelText
End Set
End Property
In your content page code
dim mp as myMP = ctype(page.master, myMP)
mp.MyLabelText = "My label text"