Please help me understand AutoPostBack property of an ASP.NET control

前端 未结 6 1682
时光取名叫无心
时光取名叫无心 2021-01-21 00:16

I\'m learning about ASP.NET, mainly by following through a book, but also making an effort to actually do things along the way. But, I came across an explanation about list cont

6条回答
  •  一向
    一向 (楼主)
    2021-01-21 00:21

    The responsibility of an asp.net control contained in a Page is to render a part of the html that the user will end up seeing in his browser. Some controls support the AutoPostBack property. What it does is that it makes the control emit some extra javascript that will submit the form whenever the value of that control is changed, so that you can react to this on the server side.

提交回复
热议问题