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
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,201
|
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
|