Amir Mirkamali

امیر میرکمالی

RadAjaxManager problem with radiobuttons - work only on first postback

The key is that you must add the all radiobuttons to your radajaxmanager updated controls. somthing like this

ajaxManager.AjaxSettings.AddAjaxSetting(rbtn1, ddl, pnlLoading);
ajaxManager.AjaxSettings.AddAjaxSetting(rbtn1, rbtn2,
null);
ajaxManager.AjaxSettings.AddAjaxSetting(rbtn1, rbtn1,
null);
ajaxManager.AjaxSettings.AddAjaxSetting(rbtn2, ddl, pnlLoading);
ajaxManager.AjaxSettings.AddAjaxSetting(rbtn2, rbtn2,
null);
ajaxManager.AjaxSettings.AddAjaxSetting(rbtn2, rbtn1,
null);

This will solve the problem. because after every postback all the dropdowns must updated.

Comments are closed