set a label text on webform from a master page

pvds

New member
Joined
Oct 13, 2010
Messages
4
Programming Experience
3-5
Can't find out .. on the inet a lot tips to change from a webform on a masterpage but not the other way around..

Can somebody give me a piece of code.. :confused:

Regards PVDS :cool:
 
Find it out:

example:
Dim content As ContentPlaceHolder = CType(Me.FindControl("ContentPlaceHolder1"), ContentPlaceHolder)
Dim lbl As Label = CType(content.FindControl("Label1"), Label)
lbl.Text = "hello"

Thanx..
 
Back
Top