asp.net equivalent to TAG property?

  • Thread starter Thread starter Annie
  • Start date Start date
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
 
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

Back
Top