Controls versus standard HTML

后端 未结 11 1395
醉话见心
醉话见心 2020-12-15 09:55

I\'m getting into ASP.NET (C# - I know it doesn\'t matter for this particular question, but full disclosure and all that), and while I love that the asp:-style

11条回答
  •  醉梦人生
    2020-12-15 10:13

    If the ID's prefix added by ASP.NET is an issue for you to access them later using JS or something... you have the .ClientID property server side.

    If the overhead added by ASP.NET you should consider ASP.NET MVC (still preview) where you have full control over the emitted html.

    I'm moving to MVC because I don't like all that stuffs added too....

提交回复
热议问题