Hi dear,
I want to show one message "Hi welcome" in asp.net page how to call this message which event i am going to call
to achive this task
How to show message in ASP.NET using JavaScript
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Satyapriya NayakRank #47 · 31.5K reputationPosted Nov 26, 2011, 8:32 PM EST
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
public partial class Default2 : System.Web.UI.Page
{
protected void Button1_Click(object sender, EventArgs e)
{
Button1.Attributes.Add("onclick", "return message()");
}
}
Thanks
Sam HobbsRank #108 · 20.5K reputationPosted Nov 26, 2011, 9:39 PM EST