How to show popup message from server side

work on asp.net vs05. i know how to show popup ,in my below syntax i show a popup when a page is load.But i want to show this popup after some action occur on server ,i have a button ,under this button event i want to do some work on server side ,then i want to show popup message .Here is my complete syntax that can show popup <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %> Untitled Page
Like the above syntax i want to show popup message from server side after some event occur .Here is my aspx syntax: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %> Untitled Page
C# syntax : using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class Default4 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { //want to do some work then want Button1.Attributes.Add("onclick", "javascript:computeCorrectValue(parameter)"); } } Help me to show popup message after some event occur on server side.popup must look like my give first example .i can show alert message too ,but i don't want to show alert message.url `http://stackoverflow.com/questions/659199/how-to-show-popup-message-like-in-stackoverflow` i want same thing but want to show after server event.

以上就是How to show popup message from server side的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏