AjaxSettings collection. See AjaxSettings for more information.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class AjaxSettingsCollection : CollectionBase, IList, ICollection, IEnumerable
Inheritance: objectCollectionBaseAjaxSettingsCollection
Implements:
Inherited Members
Constructors
The default constructor for AjaxSettingsCollection class. See AjaxSettings for more information.
public AjaxSettingsCollection()
Properties
Default indexer for the collection.
Methods
Adds an item to the collection.
public int Add(AjaxSetting ajaxSetting)
An instance of AjaxSetting to be added.
Returns:This method adds a new AjaxSetting to the collection by building one from its parameters.
public void AddAjaxSetting(Control ajaxifiedControl, Control updatedControl, RadAjaxLoadingPanel loadingPanel, UpdatePanelRenderMode renderMode, Unit updatePanelHeight, string updatePanelCssClass)
The web control to be ajaxified (the initiator of the AJAX request).
updatedControlControlThe web control that has to be updated.
loadingPanelRadAjaxLoadingPanelThe loading panel.
renderModeUpdatePanelRenderModeThe render mode which determines if the rendered content will be inside of <div> or <span> HTML element.
updatePanelHeightUnitDetermines the height of the update panel.
updatePanelCssClassstringDetermines the CssClass of the update panel.
This method adds a new AjaxSetting to the collection by building one from its parameters.
public void AddAjaxSetting(Control ajaxifiedControl, Control updatedControl, RadAjaxLoadingPanel loadingPanel, UpdatePanelRenderMode renderMode, Unit updatePanelHeight)
The web control to be ajaxified (the initiator of the AJAX request).
updatedControlControlThe web control that has to be updated.
loadingPanelRadAjaxLoadingPanelThe loading panel.
renderModeUpdatePanelRenderModeThe render mode which determines if the rendered content will be inside of <div> or <span> HTML element.
updatePanelHeightUnitDetermines the height of the update panel.
This method adds a new AjaxSetting to the collection by building one from its parameters.
public void AddAjaxSetting(Control ajaxifiedControl, Control updatedControl, RadAjaxLoadingPanel loadingPanel, UpdatePanelRenderMode renderMode)
The web control to be ajaxified (the initiator of the AJAX request).
updatedControlControlThe web control that has to be updated.
loadingPanelRadAjaxLoadingPanelThe loading panel which will be shown during the ajax request.
renderModeUpdatePanelRenderModeThe render mode which determines if the rendered content will be inside of <div> or <span> HTML element.
This method adds a new AjaxSetting to the collection by building one from its parameters.
public void AddAjaxSetting(Control ajaxifiedControl, Control updatedControl, RadAjaxLoadingPanel loadingPanel)
The web control to be ajaxified (the initiator of the AJAX request).
updatedControlControlThe web control that has to be updated.
loadingPanelRadAjaxLoadingPanelThe loading panel which will be shown during the ajax request.
This method adds a new AjaxSetting to the collection by building one from its parameters.
Checks wether the item is present in the collection.
public bool Contains(AjaxSetting ajaxSetting)
An instance of AjaxSetting
Returns:Determines the index of the specified item.
public int IndexOf(AjaxSetting ajaxSetting)
An instance of AjaxSetting
Returns:Inserts an item at the specificed index in the collection.
public void Insert(int index, AjaxSetting ajaxSetting)
The index at which the setting will be inserted
ajaxSettingAjaxSettingAn instance of AjaxSetting
Removes an item from the collection.
public void Remove(AjaxSetting ajaxSetting)
An instance of AjaxSetting to be removed