Welcome Guest Search | Active Topics | Sign In | Register

message box button controlls Options
manoj
Posted: Sunday, April 4, 2010 6:29:35 AM
Rank: Newbie
Groups: Member

Joined: 4/4/2010
Posts: 1
i've two buttons on msgbox. The "ok" button is not working.it simply works as ,as cancel button .
even i've added this code;

protected void CancelPushButton_Click(object sender, EventArgs e)
{
MsgBox1.Show(
"Hello", "This is a test message.",null,new EO.Web.MsgBoxButton("OK",null,"transfer"),new EO.Web.MsgBoxButton("CANCEL"));
}

protected void MsgBox1_ButtonClick(object sender,System.Web.UI.WebControls.CommandEventArgs e)
{
if (e.CommandName=="transfer")
{

Response.Redirect("CustomerHome.aspx");
}
}


help me out of this problem. i'm a beginer
eo_support
Posted: Sunday, April 4, 2010 2:37:09 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

We tested your code and it works fine here. So you may want to test the code with a blank page and see if it works for you.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.