强制回传 [英] Forcing a postback

查看:162
本文介绍了强制回传的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法来强制code回传?

Is there a way to force a postback in code?

我期待强制回传的提高,从后面我的asp.net web应用程序的C#code的方法。

I'm looking to force the raising of a postback from a method in the c# code behind my asp.net web application.

推荐答案

一个回发一个表单提交后引发的,因此它涉及到客户端操作...
看看这里的解释:
<一href=\"http://stackoverflow.com/questions/60650/asp-net-is-it-possible-to-trigger-a-postback-from-server-$c$c\">ASP.NET - 是否有可能触发服务器code回传

A postback is triggered after a form submission, so it's related to a client action... take a look here for an explanation: ASP.NET - Is it possible to trigger a postback from server code?

和这里的解决方案:
http://forums.asp.net/t/928411.aspx/1

这篇关于强制回传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆