Hi
I need to exclude the button control from Ajax
If i add the control design time its working fine, but if i add the controls dynamatically its not working(button not exclude from the ajax)
This is my code.
What i needs to do?
Regards
Vairam
I need to exclude the button control from Ajax
If i add the control design time its working fine, but if i add the controls dynamatically its not working(button not exclude from the ajax)
This is my code.
RadAjaxPanel panel = new RadAjaxPanel();
this.Form.Controls.Add(panel);
Button btn = new Button();
btn.Text =
"Click";
btn.Click +=
new EventHandler(btn_Click);
//btn.Attributes.Add("onclick", String.Format("realPostBack(this, ''); return false;"));
RadScriptManager1.RegisterPostBackControl(btn);
panel.Controls.Add(btn);
What i needs to do?
Regards
Vairam