Re: Equivalent of Tag on Label

Adrian Martin <[email protected]> Fri, 27 Jul 2007 15:04:38 +0100
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
Add you data via the Attribute collection


yourLabel.Attributes["tag"] = "stringdata" ;








-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:[email protected]] On Behalf Of Brady Kelly
Sent: 27 July 2007 09:11
To: [email protected]
Subject: Equivalent of Tag on Label

How could I emulate storing meta data for a Label control in its Tag
property, as with WinForms Label control?  I want to store a lot number
associated with a label on that label, so when I iterate a data
collection,
I can access data for a label by its 'tag' property.


===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com


Johnston Press plc      Registered in Scotland no. SC015382        Registered Office: 53 Manor Place, Edinburgh, EH3 7EG

Opinions expressed in this email are those of the writer and not the company.  E-mail traffic is monitored within Johnston Press and messages may be viewed.  This e-mail and any files with it are solely for the use of the addressee(s).  If you are not the intended recipient, you have received this e-mail in error.  Please delete it or return it to the sender or notify us by email at [email protected]

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com