J
Jason Huang
Hi,
The MessageBoxConfirm seems to work fine for my C#.Net 2.0 web project.
In the comfirmation message box, if the client hit the OK, the the
btnHidden's Text will get the value 'Y',
otherwise, the btnHidden's Text gets the value 'N';
Hoewever, in the following btnQry_Click event, the btnHidden.Text are all
just blank space, as the initial Text value.
protected void btnQry_Click(object sender, EventArgs e)
{
this.basfuncs.MessageBoxConfirm (this, "Are you sure?",
this.btnHidden );
if ( this.btnHidden .Text == "N")
{ }
else if ( this .btnHidden .Text == "Y")
{
this.txtCustNameInsert.Text = this.txtCustName.Text.Trim();
}
}
How do I solve this situation?
Thanks for help.
Jason
The MessageBoxConfirm seems to work fine for my C#.Net 2.0 web project.
In the comfirmation message box, if the client hit the OK, the the
btnHidden's Text will get the value 'Y',
otherwise, the btnHidden's Text gets the value 'N';
Hoewever, in the following btnQry_Click event, the btnHidden.Text are all
just blank space, as the initial Text value.
protected void btnQry_Click(object sender, EventArgs e)
{
this.basfuncs.MessageBoxConfirm (this, "Are you sure?",
this.btnHidden );
if ( this.btnHidden .Text == "N")
{ }
else if ( this .btnHidden .Text == "Y")
{
this.txtCustNameInsert.Text = this.txtCustName.Text.Trim();
}
}
How do I solve this situation?
Thanks for help.
Jason