ASP.NET - Is it possible to trigger a postback from server code?

前端 未结 5 688
温柔的废话
温柔的废话 2021-01-11 16:03

Is it possible to to programmatically trigger a postback from server code in ASP.NET? I know that it is possible to do a Response.Redirect or Server.Transfer to redirect to

5条回答
  •  不知归路
    2021-01-11 16:31

    Postbacks are caused by a FORM submission. You need to initiate them from the client.

提交回复
热议问题