Tom Halladay
Tom Halladay

Reputation: 5761

Change the default ASP.NET ClientIDMode at the project or solution level?

Does anyone know if it's possible to change the default ClientIDMode for an entire project / solution / web deployment?

It would be nice not to have to change this on the few pages we actually use asp.net controls.

Upvotes: 1

Views: 412

Answers (1)

Reg Edit
Reg Edit

Reputation: 6914

Yes, you can set ClientIDMode in web.config:

<pages clientIDMode="[AutoID|Predictable|Static]" />

Upvotes: 3

Related Questions