custom attribute disappears at runtime

In my asp.net markup:

<cc1:TextBoxWithCustomAttributes ID="tbFirstName" runat="server" GatherKind="createnewuser_requiredfield"></cc1:TextBoxWithCustomAttributes>


<input name="ctl00$ContentPlaceHolder1$create_new_user$BillingInfo$tbFirstName" type="text" id="ctl00_ContentPlaceHolder1_create_new_user_BillingInfo_tbFirstName" value="" />


"GatherKind" is not surviving.  It does not show up in the rendered HTML.


How can I correct this?
LVL 5
Tom KnowltonWeb developerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

strickddCommented:
I believe you can prefix it with "data-" so it becomes "data-GatherKind"
0
Tom KnowltonWeb developerAuthor Commented:
Please show me the updated markup...I am not sure I understand what you mean.
0
strickddCommented:
<cc1:TextBoxWithCustomAttributes ID="tbFirstName" runat="server" data-GatherKind="createnewuser_requiredfield"></cc1:TextBoxWithCustomAttributes>
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Tom KnowltonWeb developerAuthor Commented:
Where is some online documentation on "data-"  ??

I've never seen this before!

Thanks!
0
Tom KnowltonWeb developerAuthor Commented:
Which browsers do not support HTML5?

This is very cool - but it must work at far back as IE7.  Will it?
0
strickddCommented:
Yes, I believe they can "work" in IE 5.5 even.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Tom KnowltonWeb developerAuthor Commented:
So it does not depend on browser version?

Is it DOC TYPE that determines it?  Is that accurate?

Where can I find a correct DOC TYPE for using HTML 5?
0
Tom KnowltonWeb developerAuthor Commented:
thx
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.