Forcing client ids in ASP.NET

后端 未结 6 594
滥情空心
滥情空心 2020-12-22 12:27

I know that in the next version of ASP.NET we\'ll finally be able to set the clientids on System.Web controls without the framework doing it for us in a quasi-intelligent wa

6条回答
  •  被撕碎了的回忆
    2020-12-22 13:12

    I have often run in to this "problem" while developing in asp.net webforms. In most cases I tend to use the css class of the element.

    jQuery(".My .Container12")
    

    Before starting to manipulate the id:s, perhaps that is a way you can handle it aswell? It's a simple solution.

提交回复
热议问题