如何显示暂停页面的警报消息? [英] How to show alert messages for ajaxed pages?
本文介绍了如何显示暂停页面的警报消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不希望每次都重新加载我的母版页,所以我取消了整个内容"页集..
但这样做不会显示警报消息.
I dont want my master page to get reloaded every time so i have ajaxed the entire set of Content pages..
but by doing this alert messages are not displayed.
How do i solve this?
推荐答案
此代码将帮助您使用Ajax ScriptManager显示警报消息.
This code will help you to show alert message using Ajax ScriptManager.
ScriptManager.RegisterStartupScript(
this, this.GetType(), "msg", "alert(' Message....? ');", true);
ScriptManager.RegisterStartupScript(
this, this.GetType(), "msg", "alert(' Message....? ');", true);
我可以帮助您
Response.Write(");
My be this will help you
Response.Write("");
这篇关于如何显示暂停页面的警报消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文