Hi,
in my project I'm using RadAjaxManager:
I have a button with click event:
In this case my js script "CloseAndRebind" doesn't work.
But when I remove:
the code works fine. Why?
I have to ajaxified Button2.
in my project I'm using RadAjaxManager:
| protected void Page_Load(object sender, EventArgs e) |
| { |
| RadAjaxManager1.AjaxSettings.AddAjaxSetting(Button2, Button2); |
| } |
| protected void Button2_Click1(object sender, EventArgs e) |
| { |
| ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "CloseAndRebind();", true); |
| } |
But when I remove:
| RadAjaxManager1.AjaxSettings.AddAjaxSetting(Button2, Button2); |
I have to ajaxified Button2.