I’mm getting really long client ids one such example is below. Some of them are about 100 characters long which is ridiculous.
Is there anything or any tool i can use that will shorten the pages ids?
id=”ctl00_ctl00_MainContent_MemberMain_Abc_asdsad…._DlSAdasdasdasd_ctl00_PnsadasdasdnsHF”
EDIT:
I am nesting a lot which is the cause of the problem.
I am using .net 3.5. and collisions are not ok as some of the ids are being used by javascript funcitons
If using ASP .NET 4, you can set ClientIDMode to Static. Then you just have to make sure yourself that control ids in the hierarchy is unique. See this.