开发者

Is it possible to create ASP.NET pages without the autogenerate javascript?

As开发者_开发问答 a test, I wanted to have an ASP.NET page rendered without the auto-generated javascript. Is this possible?


Assuming you're referring to ASP.NET UserControls, I would imagine that the javascript and css rendered with ASP.NET User Control is built in and cannot be prevented out the box. You may be able to override the render and prevent it?


If you are after to remove __dopostback and so on, you have to change the ASP.NET standard control behavior (like LinkButton). IMO, you can use ASP.NET MVC that gives you more controls on the markup.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜