Reputation: 5761
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
Reputation: 6914
Yes, you can set ClientIDMode in web.config:
<pages clientIDMode="[AutoID|Predictable|Static]" />
Upvotes: 3