How to get rid of the “default” form-element from a .aspx-page?

前端 未结 4 1780
日久生厌
日久生厌 2021-01-23 03:15

As that web-standards geek I am, I dislike the default

that surrounds my entire webpages. I\'ve seen many ASP.NET based webpages that
4条回答
  •  误落风尘
    2021-01-23 04:18

    There will have to be a if you wish to use controls 'n stuff. Otherwise postbacks are impossible, as is viewstate and the rest of the stuff that .NET depends upon.

    Are you sure you've seen what you've thought you've seen? Perhaps these pages only contained static content? Or perhaps they were user-controls? Or yet another common possibility - perhaps it was the Master Page that had the ?

提交回复
热议问题