Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Can I Put Text in a Label Control Using a Hyperlink?

Status
Not open for further replies.

BlueBlade

Technical User
Joined
Mar 2, 2007
Messages
15
Location
US
Hi, I am trying to change the contents of a label control using a hyperlink. The hyperlink and the label controls are on different UserControls.

Please help, Thanks.
 
Thanks the public property does allow me to get to the control.
 
Is it just a regular html hyperlink? If so you set it to runat=server and onclick='<%# FunctionSetLabelText() %>'>CLICK HERE</a>

could try a linkbutton control
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top