-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: uva_net
Message 7 in Discussion
Compile this code and use it wherever you want...
using AlertBox;
clsMessage.Alert("Hi BDOTNET");
similarly in the same class we can write for pop up window with parameters for
size, allow resize, toolbars etc...
Regards,
Uvaraj AT
Arman Infotech Systems Pvt. Ltd.
<st1:City><st1:place>Bangalore</st1:place></st1:City>
<st1:City><st1:place></st1:place></st1:City>
<st1:City><st1:place> </st1:place></st1:City>
using System;
using System.Text;
namespace AlertBox
{
/// <summary>
/// Summary description for clsMessage.
/// </summary>
public class clsMessage
{
public clsMessage()
{
//
// TODO: Add constructor logic here
//
}
public static string Alert(string strMsg)
{
StringBuilder strAlertScript = new StringBuilder();
strAlertScript.Append("<script language=javascript>");
strAlertScript.Append("alert('");
strAlertScript.Append(strMsg);
strAlertScript.Append("');");
strAlertScript.Append("</script>");
return Convert.ToString(strAlertScript);
}
}
}
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]