C# Class Telerik.Web.Mvc.UI.Fluent.GridWebServiceSettingsBuilder

Defines the fluent interface for configuring the Grid{T}.WebService.
Inheritance: IHideObjectMembers
显示文件 Open project: juanplopes/simple-telerik

Public Methods

Method Description
Enabled ( bool value ) : GridWebServiceSettingsBuilder

Enables or disables web service binding.

The Enabled method is useful when you need to enable web service binding based on certain conditions.

GridWebServiceSettingsBuilder ( GridBindingSettings settings ) : Infrastructure

Initializes a new instance of the GridWebServiceSettingsBuilder class.

Url ( string value ) : GridWebServiceSettingsBuilder

Sets the url of the web service which the Grid will request for data.

Method Details

Enabled() public method

Enables or disables web service binding.
The Enabled method is useful when you need to enable web service binding based on certain conditions.
public Enabled ( bool value ) : GridWebServiceSettingsBuilder
value bool
return GridWebServiceSettingsBuilder

GridWebServiceSettingsBuilder() public method

Initializes a new instance of the GridWebServiceSettingsBuilder class.
public GridWebServiceSettingsBuilder ( GridBindingSettings settings ) : Infrastructure
settings GridBindingSettings The settings.
return Infrastructure

Url() public method

Sets the url of the web service which the Grid will request for data.
public Url ( string value ) : GridWebServiceSettingsBuilder
value string The value.
return GridWebServiceSettingsBuilder