Hello,
Is it possible to implement the following code in the code behind on run time only.
This code prevent post back when sorting the columns in the grid.
I would like to prevent to write it in the html.
I have tried to write the following code with no results:
Oren
Is it possible to implement the following code in the code behind on run time only.
This code prevent post back when sorting the columns in the grid.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadGrid1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="2" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager>I would like to prevent to write it in the html.
I have tried to write the following code with no results:
public void Page_Load(object sender, EventArgs e) { RadAjaxManager ajaxManager=new RadAjaxManager(); ajaxManager.ID = "mkn"; AjaxUpdatedControl ajaxUpdatedControl = new AjaxUpdatedControl("RadGrid1", "2"); AjaxSetting see = new AjaxSetting(); see.AjaxControlID = "RadGrid1"; see.UpdatedControls.Add(ajaxUpdatedControl); ajaxManager.AjaxSettings.Add(see);//.AddAjaxSetting(RadGrid1, RadGrid1,null); }Oren