tag-property

Vb6 “Tag” property equivalent in ASP.Net?

旧时模样 提交于 2019-12-09 03:11:01
问题 I'm looking for ideas and opinions here, not a "real answer", I guess... Back in the old VB6 days, there was this property called "Tag" in all controls, that was a useful way to store custom information related to a control. Every single control had it, and all was bliss... Now, in .Net (at least for WebForms), it's not there anymore... Does anyone have a good replacement for that? I find this problem very often, where I have different functions that run at different times in the lifecycle,