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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using key property in Web Controls

Status
Not open for further replies.

vladibo

Programmer
Sep 14, 2003
161
CA
I have noticed the usage of key property in web controls but I don't see it in the documentation. For example I see this code:

<asp:Label id="SystemLabel" runat="server" key="Main_SystemLabel"></asp:Label>

There is no property key in the Label control, nor in one of the base classes: System.Web.UI.Control, System.Web.UI.WebControls.WebControl

What does it mean? Is there a way to access it by something like Page.FildByKey("Key")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top