Set ClientID in asp.net

前端 未结 7 1632
情话喂你
情话喂你 2020-12-19 03:28

Is it possible to set the ClientID of any asp.net server control? How can I do this?

7条回答
  •  别那么骄傲
    2020-12-19 03:53

    ASP.NET 4 has ClientIDMode property on each control for that. If you want to turn off ClientID completely you can use this trick - it works for any non-postback control

提交回复
热议问题