这是在asp.net中发回邮件的机制 [英] waht is the mechanism of post back in asp.net

查看:47
本文介绍了这是在asp.net中发回邮件的机制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Aslam-0-Alaikum


Anay告诉我PostBack和Call Back有什么区别,两者的机制是什么.....?

Aslam-0-Alaikum


Anay one who tell me what is the difference between PostBack and Call Back and what is the mechanism of both.....?

推荐答案

区别如下:

回发:指示页面是响应客户端回发而被加载还是第一次被加载.

示例:当您单击按钮"页面时,首先将页面提交到服务器,然后再发布回浏览器,则时间为Page.IsPostBack为true,如果正常加载则为false(例如,首次加载).

CallBack:表示页面请求是否是回叫的结果.

示例:如果一个页面是由另一个页面的调用加载的,则Page.IsCallback为true.
Differences are as follow:

Postback: indicates whether the page is being loaded in response to a client postback or it is being loaded first time.

Eample: When you click Button page is first submited to server and then post back to browser, then is time Page.IsPostBack would be true and it would be false if it is normally loaded (eg.it is first time loaded).

CallBack: indicates wether the page request is result of a call back.

Example: Page.IsCallback would be true if a page is loaded by a call from another page.


我相信这篇博客文章很好地解释了这种区别:http://geekswithblogs.net/AaronLi/archive/2007/04/20/111817.aspx [ ^ ]
I believe that this blog post explains the difference very well: http://geekswithblogs.net/AaronLi/archive/2007/04/20/111817.aspx[^]


Mika上面给出的链接应该可以很好地说明这一点.

但是,让我告诉您,Google是您或每个程序员的朋友!

如果您尝试过此操作- Google搜索-回传和回调之间的区别 [ ^ ],您将获得22500链接以某种方式讨论了同一件事.因此,下次请先进行搜索,然后再询问. :thumbsup:
The link given above by Mika should explain that well.

But let me tell you Google is your or for that matter every programmers'' friend!

If you would have tried this - Google Search - difference between postback and callback[^] you would have got 22500 links which somehow discusses the same thing. So next time please, please do a search before you ask. :thumbsup:


这篇关于这是在asp.net中发回邮件的机制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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