Hi,
I click one event on the page, which will call 1st event below
protected void btnSave2_Click(object sender, EventArgs e)
{
if (!ValidateInputs2())
{
...
protected bool ValidateInputs2()
{
bool isOk = true;
string msg = "";
MessagePopup("aa1");
...
protected void MessagePopup(string message)
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "aaa", "alert('" + message.Replace("|", "\\n") + "');", true);
}
...
but I don't know why no message is being shown, as expected. why?
Go to the complete details ...