How to prevent asp.net to make lowercase my custom attribute that I put in the server control

I have an aspx page and controls. To do this, using client-side javascript, I would like to place attributes for my elements. I would like to do all this in markup, not in code. It seems that the placed attributes will all be on the bottom side on the client side.

For example:

<asp:LinkButton ID="anyButton" runat="server" confirmationMessage='any message'...

will be displayed on the client side as:

<a confirmationmessage='any message'...

Therefore, I have to use this body for all my javascript codes. Not a big problem, but rather troubling if you like strict naming conventions.

Thank you in advance

+4
source share

All Articles