asp.net equivalent to TAG property?

A

Annie

hello guys,

I simply would like to store some details within the textboxes most
preferably in design time (excluding ID) ... but can't find anything
approperiate ... for example I want to store the Data Type of the textbox eg
it is String, Number, Date, Boolean etc ... TextBoxes had Tag property but I
can't find it.

Anything to store to? Any better solutions?

TA
 
E

Eliyahu Goldin

You can always use custom attributes:

myTextBos.Attributes["'attributename"] = "attributevalue";

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top