I want to use clientIDMode=”Static” in the web.config as it’s awesome for front end development, obivously.
But, I’d like my repeaters, datagrids, and datalists to default to clientIDMode=”Predictable” so there’s not duplicate ID’s on the page. I’d prefer not to have to set this every time I create a repeater because it’s extra code and if I forget I won’t see any problems immediately so I’ll probably continue on without realizing I made a mistake.
Any help on this issue would be greatly appreciated.
No, i’m afraid such a thing doesn’t exist.
If it’s really important for you, you could implement following in your Master’s or Page’s
Page_Init:But in my opinion this is too much for a reminder.