diff --git a/Libraries/Telerik/Telerik.Web.Mvc.dll b/Libraries/Telerik/Telerik.Web.Mvc.dll index 90715390b..819473d0c 100644 Binary files a/Libraries/Telerik/Telerik.Web.Mvc.dll and b/Libraries/Telerik/Telerik.Web.Mvc.dll differ diff --git a/Libraries/Telerik/Telerik.Web.Mvc.xml b/Libraries/Telerik/Telerik.Web.Mvc.xml index 9ec4fa879..830dfeed3 100644 --- a/Libraries/Telerik/Telerik.Web.Mvc.xml +++ b/Libraries/Telerik/Telerik.Web.Mvc.xml @@ -658,6776 +658,10542 @@ - + - Gets the id. + Represents a category axis in the component - The id. + The type of the data item - + - Gets the items of the ComboBox. + Represents a chart axis - + - Defines the fluent interface for building + Defines a generic Chart axis - + - Initializes a new instance of the class. + Gets the axis serializer. - The settings. - + - Enables or disables filtering. + Gets or sets the minor tick size. - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(filtering => - { - filtering.Enabled((bool)ViewData["filtering"]); - }) - %> - - - - The Enabled method is useful when you need to enable/disable filtering based on certain conditions. - - + - Defines filter mode. + Gets or sets the major tick size. - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(filtering => - { - filtering.FilterMode(AutoCompleteFilterMode.StartsWith); - }) - %> - - - + - Set minimum chars number needed to start filtering. + The major tick type. - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(filtering => - { - filtering.MinimumChars(2); - }) - %> - - - + - Defines the fluent interface for configuring the component. + The minor tick type. - + - Configures the client-side events. + The major grid lines configuration. - The client events action. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => - events.OnLoad("onLoad") - ) - %> - - - + - Configures the effects of the dropdownlist. + The minor grid lines configuration. - The action which configures the effects. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .Effects(fx => - { - fx.Slide() - .OpenDuration(AnimationDuration.Normal) - .CloseDuration(AnimationDuration.Normal); - }) - - - + - Defines the items in the DropDownList + The axis line configuration. - The add action. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .Items(items => - { - items.Add().Text("First Item"); - items.Add().Text("Second Item"); - }) - %> - - - - - - - + - Initializes a new instance of the class. + Initializes a new instance of the class. - The component. + The chart. - + - Use it to enable filtering of items. + Gets the axis serializer. - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(); - %> - - - + - Use it to configure filtering settings. + Gets or sets the chart. - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(filtering => filtering.Enabled(true) - .FilterMode(AutoCompleteFilterMode.Contains)); - %> - - + The chart. - + - Use it to enable filling the first matched item text. + Gets or sets the minor tick size. The default is 3. - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .AutoFill(true) - %> - - - + - Use it to configure Data binding. + Gets or sets the major tick size. The default is 4. - Action that configures the data binding options. - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .DataBinding(dataBinding => dataBinding - .Ajax().Select("_AjaxLoading", "ComboBox") - ); - %> - - - + - Use it to enable highlighting of first matched item. + The major tick type. The default is . - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .HighlightFirstMatch(true) - %> - - - + - Use it to set selected item index + The minor tick type. The default is . - Item index. - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .SelectedIndex(0); - %> - - - + - Enables or disables the combobox. + The major grid lines configuration. - + - Sets whether to open items list on focus. + The minor grid lines configuration. - + - Defines the fluent interface for building + The axis line configuration. - + - Defines the fluent interface for building + Represents a category axis - + - Initializes a new instance of the class. + The categories displayed on the axis - The settings. - + - Enables or disables binding. + The Model member used to populate the - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home").Enabled((bool)ViewData["ajax"]); - }) - %> - - - - The Enabled method is useful when you need to enable binding based on certain conditions. - - + - Sets the action, controller and route values for the select operation + Initializes a new instance of the class. - The route values of the Action method. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select(MVC.Home.Indec(1).GetRouteValueDictionary()); - }) - %> - - + The chart. - + - Sets the action, controller and route values for the select operation + Gets the axis serializer. - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - - + - Sets the action, controller and route values for the select operation + The categories displayed on the axis - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home", new { {"id", 1} }); - }) - %> - - - + - Sets the action, controller and route values for the select operation + Gets the member name to be used as category. - Name of the action. - Name of the controller. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home"); - }) - %> - - + The member. - + - Sets the route and values for the select operation + Represents a numeric axis in the component - Name of the route. - The route values. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - + The type of the data item - + - Sets the route and values for the select operation + Represents a numeric axis - Name of the route. - The route values. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default", new {id=1}); - }) - %> - - - + - Sets the route name for the select operation + Represents a generic value axis - Name of the route. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default"); - }) - %> - - - + - Initializes a new instance of the class. + The axis minimum value - The settings. - + - Enables or disables cache of items. + The axis maximum value - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home").Cache((bool)ViewData["cache"]); - }) - %> - - - - The Cache method is useful when you need to enable/disable caching based on certain conditions. - Default value is true. - - + - Specifies delay of the Ajax/WebServer request. + The interval between major divisions - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home").Delay(400); - }) - %> - - - - The Delay method is useful when you need to postpone request to the server for some time. - - + - Defines the fluent interface for building + The value at which the first perpendicular axis crosses this axis - + - Initializes a new instance of the class. + The axis label format - The settings. - + - Defines filter mode. + Initializes a new instance of the class. - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(filtering => - { - filtering.FilterMode(AutoCompleteFilterMode.StartsWith); - }) - %> - - + The chart. - + - Set minimum chars number needed to start filtering. + Gets the axis serializer. - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(filtering => - { - filtering.MinimumChars(2); - }) - %> - - - + - Defines the fluent interface for configuring the data binding. + The minimum axis value. - + - Initializes a new instance of the class. + The axis maximum value. - The configuration. - + - Use it to configure Ajax binding. + The value at which the first perpendicular axis crosses this axis - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .DataBinding(dataBinding => dataBinding - .Ajax().Select("_AjaxLoading", "TreeView") - ) - %> - - - + - Use it to configure web service binding. + The interval between major divisions - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .DataBinding(dataBinding => dataBinding - .WebService().Select("~/Models/ProductDDI.asmx/GetProducts") - ) - %> - - - + - Defines the fluent interface for building + The axis label format - + - Defines the fluent interface for configuring the treeview webservice. + Telerik Chart for ASP.NET MVC is a view component for rendering charts. + Features: + + Bar Chart + Column Chart + + For more information, see the online documentation. - + - Initializes a new instance of the class. + For internal use - The settings. - + - Specify the web service url for loading data + The component UrlGenerator - The web service url - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => dataBinding - .WebService().Select("~/Models/ProductDDI.asmx/GetProducts") - ) - %> - - - + - Enables / disables web service functionality. + The component view context - Whether to enable or to disable the web service. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => dataBinding - .Ajax().Enabled(true).Select("_AjaxLoading", "DropDownList") - ) - %> - - - - The Enabled method is useful when you need to enable ajax based on certain conditions. - - + - Initializes a new instance of the class. + Initializes a new instance of the class. - The settings. + The view context. + The client side object writer factory. + The URL Generator. - + - Enables or disables cache of items. + Writes the initialization script. - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .DataBinding(dataBinding => - { - dataBinding.WebService().Select("~/Models/Product.asmx/GetProducts").Cache((bool)ViewData["cache"]); - }) - %> - - - - The Cache method is useful when you need to enable/disable caching based on certain conditions. - Default value is true. - + The writer object. - + - Specifies delay of the Ajax/WebServer request. + Writes the Chart HTML. - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .DataBinding(dataBinding => - { - dataBinding.WebService().Select("~/Models/Product.asmx/GetProducts").Delay(400); - }) - %> - - - - The Delay method is useful when you need to postpone request to the server for some time. - + The writer object. - + - Represents a client-side event of a view component + Gets or sets the data source. + The data source. - + - An action that renders the code of the client-side handler upon execution. + Represents the client-side event handlers for the component - + - An action that renders the code of the client-side handler upon execution. + Gets or sets the URL generator. + The URL generator. - + - A function that returns the code of the client-side handler. + Gets or sets the Chart area. + + The Chart area. + - + - The name of the client-side handler function. + Gets or sets the Plot area. + + The Plot area. + - + - Gets the id. + Gets or sets the Chart theme. - The id. + + The Chart theme. + - + - Defines the fluent interface for configuring the component. + Gets or sets the Chart title. + + The Chart title. + - + - Initializes a new instance of the class. + Gets or sets the Chart legend. - The component. - - + + The Chart legend. + + + - Configures the effects of the datepicker. + Gets the chart series. - The action which configures the effects. - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - .Effects(fx => - { - fx.Height() - .Opacity() - .OpenDuration(AnimationDuration.Normal) - .CloseDuration(AnimationDuration.Normal); - }) - - - + - Sets whether calendar should open on focus. + Gets the default settings for all series. - + - Sets the date format, which will be used to parse and format the machine date. + Configuration for the default category axis (if any) - + - Sets the minimal date, which can be selected in DatePicker. + Configuration for the default value axis - + - Sets the maximal date, which can be selected in DatePicker. + Gets the data binding configuration. - + - Configures the client-side events. + Gets or sets the series colors. - The client events action. - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => - events.OnLoad("onLoad").OnSelect("onSelect") - ) - %> - - - + - Sets the Input HTML attributes. + Represents the client-side events of the component. - The HTML attributes. - + - Sets the Input HTML attributes. + Initializes a new instance of the class. - The HTML attributes. - + - Enables or disables the datepicker. + Serializes the client-side events. + The writer object to serialize to. - + - Defines the fluent interface for configuring datepicker client events. + Defines the Load client-side event handler - + - Initializes a new instance of the class. + Defines the DataBound client-side event handler - Datepicker client-side events. - The context of the View. - + - Defines the inline handler of the OnChange client-side event + Represents the chart title - The action defining the inline handler. - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - + - Defines the inline handler of the OnChange client-side event + Initializes a new instance of the class. - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnChange( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - + - Defines the name of the JavaScript function that will handle the the OnChange client-side event. + Creates a serializer - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnChange("onChange")) - %> - - - + - Defines the inline handler of the OnLoad client-side event + Gets or sets the title text - The action defining the inline handler. - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - + - Defines the inline handler of the OnLoad client-side event + Gets or sets the title font. - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - + + Specify a font in CSS format. For example "16px Verdana, sans-serif". + - + - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + Gets or sets the title position. - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - + + The default value is + - + - Defines the inline handler of the OnOpen client-side event + Gets or sets the title text alignment. - The action defining the inline handler. - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnOpen(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - + + The default value is + - + - Defines the inline handler of the OnOpen client-side event + Gets or sets a value indicating if the title is visible - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnOpen( - @<text> - %> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - + - Defines the name of the JavaScript function that will handle the OnOpen client-side event. + Gets or sets the title margin - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnOpen("onOpen")) - %> - - - + - Defines the inline handler of the OnClose client-side event + Gets or sets the title padding - The action defining the inline handler. - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnClose(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - + - Defines the inline handler of the OnClose client-side event + Gets or sets the legend border - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnClose( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - + - Defines the name of the JavaScript function that will handle the OnClose client-side event. + Represents the chart legend - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnClose("onClose")) - %> - - - + - Defines the fluent interface for configuring the component. + Initializes a new instance of the class. - + - Initializes a new instance of the class. + Creates a serializer - The component. - + - Sets the value of the dateTimePicker input + Gets or sets the legend font. + + Specify a font in CSS format. For example "16px Verdana, sans-serif". + - + - Sets the value of the dateTimePicker input + Gets or sets the legend position. + + The default value is + - + - Sets the minimal date, which can be selected in DateTimePicker. + Gets or sets the legend X-offset from its position. - + - Sets the maximal date, which can be selected in DateTimePicker. + Gets or sets the legend Y-offset from its position. - + - Sets the minimal time, which can be selected in DateTimePicker. + Gets or sets a value indicating if the legend is visible - + - Sets the minimal time, which can be selected in DateTimePicker. + Gets or sets the legend margin - + - Sets the maximal time, which can be selected in DateTimePicker. + Gets or sets the legend margin - + - Sets the maximal time, which can be selected in DateTimePicker. + Gets or sets the legend border - + - Sets the interval between hours. + Represents chart element spacing - + - Sets the title of the DateTimePicker button. + Initializes a new instance of the class. + The spacing to be applied in all directions. - + - Sets the title of the DateTimePicker button. + Initializes a new instance of the class. - + - Defines the fluent interface for configuring timepicker client events. + Creates a serializer - + - Initializes a new instance of the class. + Gets or sets the top spacing. - Timepicker client-side events. - The context of the View. - + - Defines the inline handler of the OnChange client-side event + Gets or sets the right spacing. - The action defining the inline handler. - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - + - Defines the inline handler of the OnChange client-side event + Gets or sets the bottom spacing. - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnChange( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - + - Defines the name of the JavaScript function that will handle the the OnChange client-side event. + Gets or sets the left spacing. - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnChange("onChange")) - %> - - - + - Defines the inline handler of the OnLoad client-side event + Represents chart element border - The action defining the inline handler. - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - + - Defines the inline handler of the OnLoad client-side event + Initializes a new instance of the class. - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - + - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + Creates a serializer - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - + - Defines the inline handler of the OnOpen client-side event + Gets or sets the width of the border. - The action defining the inline handler. - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnOpen(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - + - Defines the inline handler of the OnOpen client-side event + Gets or sets the color of the border. - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnOpen( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - + - Defines the name of the JavaScript function that will handle the the OnOpen client-side event. + Represents the Chart area options - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnOpen("onOpen")) - %> - - - + - Defines the inline handler of the OnClose client-side event + Initializes a new instance of the class. - The action defining the inline handler. - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnClose(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - + - Defines the inline handler of the OnClose client-side event + Creates a serializer - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnClose( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - + - Defines the name of the JavaScript function that will handle the the OnClose client-side event. + Gets or sets the Chart area background. - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnClose("onClose")) - %> - - + + The Chart area background. + - + - Defines the fluent interface for building + Gets or sets the Chart area border. + + The Chart area border. + - + - Initializes a new instance of the class. + Gets or sets the Chart area margin. - The settings. + + The Chart area margin. + - + - Defines the fluent interface for configuring the treeview webservice. + Represents chart line styling - + - Initializes a new instance of the class. + Initializes a new instance of the class. - The settings. - + - Represent item in the DropDownList/ComboBox items. + Initializes a new instance of the class. - + - Gets the items of the treeview. + Creates a serializer - + - Use it to set selected item index + Gets or sets the line width. - Item index. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .SelectedIndex(0); - %> - - - + - Use it to configure Data binding. + Gets or sets the line color. - Action that configures the data binding options. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => dataBinding - .Ajax().Select("_AjaxLoading", "DropDownList") - ); - %> - - - + - Enables or disables the dropdownlist. + Gets or sets the line visibility. - - - + - Initializes a new instance of the class. + Represents an object that can serialize itself - The client events. - The view context. - + - Defines the inline handler of the OnLoad client-side event + Serializes the current instance - The action defining the inline handler. + + + + Represents chart line markers styling + + + + + Initializes a new instance of the class. + + + + + Creates a serializer + + + + + Gets or sets the markers size. + + + + + Gets or sets the markers background. + + + + + Gets or sets the markers type. + + + + + Gets or sets the markers visibility. + + + + + Gets or sets the markers border. + + + + + Defines the shape of the marker. + + + + + The marker shape is square. + + + + + The marker shape is triangle. + + + + + The marker shape is circle. + + + + + Defines the position of line chart labels. + + + + + The label is positioned at the top of the line chart marker. + + + + + The label is positioned at the right of the line chart marker. + + + + + The label is positioned at the bottom of the line chart marker. + + + + + The label is positioned at the left of the line chart marker. + + + + + Defines the fluent interface for configuring bar series. + + The type of the data item + + + + Defines the fluent interface for configuring series. + + + The type of the series builder. + + + + Initializes a new instance of the class. + + The series. + + + + Sets the series title displayed in the legend. + + The title. - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .Series(series => series.Bar(s => s.Sales).Name("Sales")) %> - + - Defines the inline handler of the OnLoad client-side event + Sets the series opacity. - The handler code wrapped in a text tag (Razor syntax). + + The series opacity in the range from 0 (transparent) to 1 (opaque). + The default value is 1. + - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .Series(series => series.Bar(s => s.Sales).Opacity(0.5)) %> - + - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + Sets the bar fill color - The name of the JavaScript function that will handle the event. + The bar fill color (CSS syntax). - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnLoad("onLoad")) + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series.Bar(s => s.Sales).Color("Red")) + .Render(); %> - + - + - Defines the inline handler of the OnChange client-side event + Gets or sets the series. - The action defining the inline handler. + The series. + + + + Initializes a new instance of the class. + + The series. + + + + Sets a value indicating if the lines should be stacked. + + A value indicating if the bars should be stacked. - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .Series(series => series.Line(s => s.Sales).Stack(true)) %> - + - Defines the inline handler of the OnChange client-side event + Configures the line chart labels. - The handler code wrapped in a text tag (Razor syntax). + The configuration action. - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnChange( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); + <%= Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Line(s => s.Sales) + .Labels(labels => labels + .Position(ChartBarLabelsPosition.Above) + .Visible(true) + ); + ) %> - + - Defines the name of the JavaScript function that will handle the the OnChange client-side event. + Sets the visibility of line chart labels. - The name of the JavaScript function that will handle the event. + The visibility. The default value is false. - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnChange("onChange")) + <%= Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Line(s => s.Sales) + .Labels(true); + ) %> - + - Defines the inline handler of the OnOpen client-side event + Sets the line chart line width. - The action defining the inline handler. + The line width. - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnOpen(() => - { - %> - function(e) { - //event handling code - } - <% - })) + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series.Line(s => s.Sales).Width(2)) .Render(); %> - + - + - Defines the name of the JavaScript function that will handle the the OnOpen client-side event. + Configures the line chart markers. - The name of the JavaScript function that will handle the event. + The configuration action. - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnOpen("onOpen")) + <%= Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Line(s => s.Sales) + .Markers(markers => markers + .Type(ChartMarkerShape.Triangle) + ); + ) %> - + - Defines the inline handler of the OnClose client-side event + Sets the visibility of line chart markers. - The action defining the inline handler. + The visibility. The default value is true. - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnClose(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); + <%= Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Line(s => s.Sales) + .Markers(true); + ) %> - + - Defines the inline handler of the OnClose client-side event + Defines the fluent interface for configuring the chart data labels. - The handler code wrapped in a text tag (Razor syntax). + + + + Defines the fluent interface for configuring the chart data labels. + + + + + Initializes a new instance of the class. + + The data labels configuration. + + + + Sets the data labels font + + The data labels font (CSS format). - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnClose( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Bar(s => s.Sales) + .Labels(labels => labels + .Font("14px Verdana, sans-serif") + .Visible(true) + ); + ) + .Render(); %> - + - + - Defines the name of the JavaScript function that will handle the the OnClose client-side event. + Sets the labels visibility - The name of the JavaScript function that will handle the event. + The labels visibility. - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnClose("onClose")) + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Bar(s => s.Sales) + .Labels(labels => labels + .Visible(true) + ); + ) + .Render(); %> - + - + - Defines the inline handler of the OnDataBinding client-side event + Sets the labels background color - The action defining the inline handler. + The data labels background color. - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnDataBinding(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Bar(s => s.Sales) + .Labels(labels => labels + .Background("Red") + .Visible(true); + ); + ) + .Render(); %> - + - + - Defines the inline handler of the OnDataBinding client-side event + Sets the labels text color - The handler code wrapped in a text tag (Razor syntax). + The data labels text color. - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnDataBinding( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Bar(s => s.Sales) + .Labels(labels => labels + .Color("Red") + .Visible(true); + ); + ) + .Render(); %> - + - + - Defines the name of the JavaScript function that will handle the the OnDataBinding client-side event. + Sets the labels margin - The name of the JavaScript function that will handle the event. + The data labels top margin. + The data labels right margin. + The data labels top margin. + The data labels top margin. - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnDataBinding("OnDataBinding")) + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Bar(s => s.Sales) + .Labels(labels => labels + .Margin(0, 5, 5, 0) + .Visible(true); + ); + ) + .Render(); %> - + - + - Defines the inline handler of the OnDataBound client-side event + Sets the labels margin - The action defining the inline handler. + The data labels margin. - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnDataBound(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Bar(s => s.Sales) + .Labels(labels => labels + .Margin(20) + .Visible(true); + ); + ) + .Render(); %> - + - + - Defines the inline handler of the OnDataBound client-side event + Sets the labels padding - The handler code wrapped in a text tag (Razor syntax). + The data labels top padding. + The data labels right padding. + The data labels top padding. + The data labels top padding. - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnDataBound( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Bar(s => s.Sales) + .Labels(labels => labels + .Padding(0, 5, 5, 0) + .Visible(true); + ); + ) + .Render(); %> - + - + - Defines the name of the JavaScript function that will handle the the OnDataBound client-side event. + Sets the labels padding - The name of the JavaScript function that will handle the event. + The data labels padding. - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnDataBound("onDataBound")) + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Bar(s => s.Sales) + .Labels(labels => labels + .Padding(20) + .Visible(true); + ); + ) + .Render(); %> - + - + - Defines the inline handler of the OnError client-side event + Sets the labels border - The action defining the inline handler. + The data labels border width. + The data labels border color (CSS syntax). - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnError(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Bar(s => s.Sales) + .Labels(labels => labels + .Border(1, "Red") + .Visible(true); + ); + ) + .Render(); %> - + - + - Defines the inline handler of the OnError client-side event + Sets the labels format - The handler code wrapped in a text tag (Razor syntax). + The data labels format. - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnError( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Bar(s => s.Sales) + .Labels(labels => labels + .Format("{0:C}") + .Visible(true); + ); + ) + .Render(); %> - + - + - Defines the name of the JavaScript function that will handle the the OnError client-side event. + Initializes a new instance of the class. - The name of the JavaScript function that will handle the event. + The data labels configuration. + + + + Sets the labels position + + The data labels position. - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnError("onError")) + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Line(s => s.Sales) + .Labels(labels => labels + .Position(ChartLineLabelsPosition.Above) + .Visible(true) + ); + ) + .Render(); %> - + - + - Defines the fluent interface for configuring the data binding. + Defines the fluent interface for configuring the chart data labels. - + - Initializes a new instance of the class. + Initializes a new instance of the class. - The configuration. + The line chart markers configuration. - + - Use it to configure Ajax binding. + Sets the markers shape type. + The markers shape type. - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => dataBinding - .Ajax().Select("_AjaxLoading", "TreeView") - ) + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Line(s => s.Sales) + .Markers(markers => markers + .Type(ChartMarkerShape.Triangle) + ); + ) + .Render(); %> - + - + - Use it to configure web service binding. + Sets the markers size. + The markers size. - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => dataBinding - .WebService().Select("~/Models/ProductDDI.asmx/GetProducts") - ) + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Line(s => s.Sales) + .Markers(markers => markers + .Size(10) + ); + ) + .Render(); %> - + - + - Defines the fluent interface for configuring child DropDonwList items. + Sets the markers visibility + The markers visibility. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Line(s => s.Sales) + .Markers(markers => markers + .Visible(true) + ); + ) + .Render(); + %> + + - + - Initializes a new instance of the class. + Sets the markers border - The item. + The markers border width. + The markers border color (CSS syntax). + + + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Line(s => s.Sales) + .Markers(markers => markers + .Border(1, "Red") + ); + ) + .Render(); + %> + + - + - Sets the value for the item. + Defines the fluent interface for configuring the . - The value. + + + + Initializes a new instance of the class. + + The chart area. + + + + Sets the Plot area background color + + The background color. - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .Items(items => items.Add().Text("First item.")) + <% Html.Telerik().Chart() + .Name("Chart") + .PlotArea(plotArea => plotArea.Background("Red")) + .Render(); %> - + - + - Sets the value for the item. + Sets the Plot area margin - The value. + The plot area top margin. + The plot area right margin. + The plot area top margin. + The plot area top margin. - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .Items(items => items.Add().Value("1")) + <% Html.Telerik().Chart() + .Name("Chart") + .PlotArea(plotArea => plotArea.Margin(0, 5, 5, 0)) + .Render(); %> - + - + - Define when the item will be expanded on intial render. + Sets the Plot area margin - If true the item will be selected. + The plot area margin. - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .Items(items => - { - items.Add().Text("First Item").Selected(true); - }) + <% Html.Telerik().Chart() + .Name("Chart") + .PlotArea(plotArea => plotArea.Margin(5)) + .Render(); %> - + - + - Creates items for the . + Sets the Plot area border + The border width. + The border color (CSS syntax). + + + <% Html.Telerik().Chart() + .Name("Chart") + .PlotArea(plotArea => plotArea.Border(1, "#000")) + .Render(); + %> + + - + - Initializes a new instance of the class. + Represents the Plot area options - The settings. - + - Defines a item. + Initializes a new instance of the class. - - + - Determines if content of a given path can be browsed. + Creates a serializer - The path which will be browsed. - true if browsing is allowed, otherwise false. - + - Retrieves the content of a given folder. + Gets or sets the Plot area background. - The folder's path, which content will be served. - A containing folder's files and child folders. - Throws 403 Forbidden if the supplied is outside of the valid paths. - Throws 404 File Not Found if refered folder does not exist. + + The Plot area background. + - + - Determines if a file can be uploaded to a given path. + Gets or sets the Plot area border. - The path to which the file should be uploaded. - The file which should be uploaded. - true if the upload is allowed, otherwise false. + + The Chart area border. + - + - Uploads a file to a given path. + Gets or sets the Plot area margin. - The path to which the file should be uploaded. - The file which should be uploaded. - A containing the uploaded file's size and name. - Forbidden + + The Chart area margin. + - + - Determines if an image's thumbnail should be served. + Defines the fluent interface for configuring the chart data labels. - The path to image's thumbnail. - true if image's thumbnail should be served, otherwise false. - + - Serves an image's thumbnail by given path. + Initializes a new instance of the class. - The path to the image. - Thumbnail of an image. - Throws 403 Forbidden if the is outside of the valid paths. - Throws 404 File Not Found if the refers to a non existant image. + The data labels configuration. - + - Determines if a file can be deleted. + Sets the labels position - The path to the file. - true if file can be deleted, otherwise false. + The data labels position. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Bar(s => s.Sales) + .Labels(labels => labels + .Position(ChartBarLabelsPosition.InsideEnd) + .Visible(true) + ); + ) + .Render(); + %> + + - + - Deletes a file. - - The path to the file. - An empty . - Forbidden - - - - Determines if a folder can be deleted. - - The path to the folder. - true if folder can be deleted, otherwise false. - - - - Deletes a folder. - - The path to the folder. - An empty . - Forbidden - - - - Determines if a folder can be created. - - The path to the parent folder in which the folder should be created. - Name of the folder. - true if folder can be created, otherwise false. - - - - Creates a folder with a given name. - - The path to the parent folder in which the folder should be created. - Name of the folder. - An empty . - Forbidden - - - - Gets the base paths from which content will be served. - - - - - Gets the valid file extensions by which served files will be filtered. - - - - - Defines the fluent interface for configuring the . + Defines the fluent interface for configuring the . - + - Initializes a new instance of the class. + Initializes a new instance of the class. - The client events. + The chart area. - + - Defines the inline handler of the OnLoad client-side event + Sets the Chart area background color - The action defining the inline handler. + The background color. - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) + <% Html.Telerik().Chart() + .Name("Chart") + .ChartArea(chartArea => chartArea.Background("Red")) .Render(); %> - + - Defines the inline handler of the OnLoad client-side event + Sets the Chart area margin - The handler code wrapped in a text tag (Razor syntax). + The chart area top margin. + The chart area right margin. + The chart area top margin. + The chart area top margin. - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) + <% Html.Telerik().Chart() + .Name("Chart") + .ChartArea(chartArea => chartArea.Margin(0, 5, 5, 0)) .Render(); %> - + - + - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + Sets the Chart area margin - The name of the JavaScript function that will handle the event. + The chart area margin. - <%= Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnLoad("onLoad")) + <% Html.Telerik().Chart() + .Name("Chart") + .ChartArea(chartArea => chartArea.Margin(5)) + .Render(); %> - + - + - Defines the inline handler of the OnExecute client-side event + Sets the Chart area border - The action defining the inline handler. + The border width. + The border color (CSS syntax). - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnExecute(() => - { - %> - function(e) { - //event handling code - } - <% - })) + <% Html.Telerik().Chart() + .Name("Chart") + .ChartArea(chartArea => chartArea.Border(1, "#000")) .Render(); %> - + - Defines the inline handler of the OnExecute client-side event + Defines the fluent interface for configuring . - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnExecute( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - + - Defines the name of the JavaScript function that will handle the the OnExecute client-side event. + Initializes a new instance of the class. - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnExecute("onExecute")) - %> - - + The chart line. - + - Defines the inline handler of the OnSelectionChange client-side event + Sets the line color - The action defining the inline handler. + The line color (CSS format). - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnSelectionChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) + <% Html.Telerik().Chart() + .Name("Chart") + .CategoryAxis(axis => axis.MajorGridLines(lines => lines.Color("#f00"))) .Render(); %> - + - Defines the inline handler of the OnSelectionChange client-side event + Sets the line width - The handler code wrapped in a text tag (Razor syntax). + The line width. - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnSelectionChange( - @<text> - function(e) { - //event handling code - } - </text> - )) + <% Html.Telerik().Chart() + .Name("Chart") + .CategoryAxis(axis => axis.MajorGridLines(lines => lines.Width(2))) .Render(); %> - + - + - Defines the name of the JavaScript function that will handle the the OnSelectionChange client-side event. + Sets the line visibility - The name of the JavaScript function that will handle the event. + The line visibility. - <%= Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnSelectionChange("onSelectionChange")) + <% Html.Telerik().Chart() + .Name("Chart") + .CategoryAxis(axis => axis.MajorGridLines(lines => lines.Visible(true))) + .Render(); %> - + - + - Defines the inline handler of the OnChange client-side event + Defines the default settings for bar series. - The action defining the inline handler. - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - + - Defines the inline handler of the OnChange client-side event + Defines the default settings for column series. - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnChange( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - + - Defines the name of the JavaScript function that will handle the the OnChange client-side event. + Defines the default settings for line series. - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnChange("onChange")) - %> - - - + - Defines the inline handler of the OnError client-side event + Represents the options of the bar chart labels - The action defining the inline handler. - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnError(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - + - Defines the inline handler of the OnError client-side event + Represents the options of the chart data labels - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnError( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - + - Defines the name of the JavaScript function that will handle the the OnError client-side event. + Initializes a new instance of the class. - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnError("onError")) - %> - - - + - Sets the HTML content that will show initially in the editor. + Creates a serializer - The action which renders the HTML content. - - <% Html.Telerik().Editor() - .Name("Editor") - .Value(() => { %> - <blockquote> - According to Deep Thought, the answer to the ultimate question of - life, the universe and everything is <strong>42</strong>. - </blockquote> - <% }) - .Render(); - %> - - + - Sets the HTML content which the item should display as a string. + Gets or sets the label font. - An HTML string. - - <%= Html.Telerik().Editor() - .Name("Editor") - .Value("<blockquote>A towel has <strong>immense</strong> psychological value</blockquote>") - %> - + + Specify a font in CSS format. For example "12px Verdana, sans-serif". + - + - Encode HTML content. + Gets or sets a value indicating if the label is visible - - <%= Html.Telerik().Editor() - .Name("Editor") - .Value("<blockquote>A towel has <strong>immense</strong> psychological value</blockquote>") - .Encode(true) - %> - - + - Sets the localization culture of the editor. + Gets or sets the label background. - The culture. - - - <%= Html.Telerik().Editor() - .Name("Editor") - .Value("<blockquote>A towel has <strong>immense</strong> psychological value</blockquote>") - .Localizable("de-DE") - %> - - + + The label background. + - + - Enables toggle animation. + Gets or sets the label border. + + The label border. + - + - Enables opacity animation. + Gets or sets the label margin. + + The label margin. + - + - Enables opacity animation. + Gets or sets the label padding. - Builder, which sets different opacity properties. + + The label padding. + - + - Enables expand animation. + Gets or sets the label color. + + The label color. + - + - Enables expand animation. + Gets or sets the label format. - Builder, which sets different expand properties. + + The label format. + - + - Enables slide animation. + Initializes a new instance of the class. - + - Enables slide animation. + Creates a serializer - Builder, which sets different slide properties. - + - Sets the button type. + Gets or sets the label position. - The button type. - + + The default value is for clustered series and + for stacked series. + - + - Sets the HTML attributes. + Defines the position chart title - The HTML attributes. - - + - Sets the HTML attributes. + The title is positioned on the top - The HTML attributes. - - + - Sets the image HTML attributes. + The title is positioned on the bottom - The Image HTML attributes. - - + - Sets the image HTML attributes. + Defines text alignment options - The Image HTML attributes. - - + - + The text is aligned to the left - - - + + + The text is aligned to the middle + - - - + - Simple wrapper used to trick the Grid's generic DataSource when custom binding is used + The text is aligned to the right - - + - Defines the fluent interface for configuring grid editing. + Defines the position of axis ticks - + - Initializes a new instance of the class. + The tick is drawn on the outer side of the axis - The settings. - + - Enables or disables grid editing. + No tick is drawn - - - <%= Html.Telerik().Grid<Order>() - .Name("Orders") - .Editable(settings => settings.Enabled(true)) - %> - - - - The Enabled method is useful when you need to enable grid editing on certain conditions. - - + - Specify an editor template which to be used for InForm or PopUp modes + Defines the position chart legend - name of the editor template - This settings is applicable only when Mode is - or - + - Enables or disables delete confirmation. + The legend is positioned on the top - - - <%= Html.Telerik().Grid<Order>() - .Name("Orders") - .Editable(settings => settings.DisplayDeleteConfirmation(true)) - %> - - - + - Gets the HTML attributes of the form rendered during editing + The legend is positioned on the bottom - The attributes. - + - Gets the HTML attributes of the form rendered during editing + The legend is positioned on the left - The attributes. - + - Defines the fluent interface for configuring template columns + The legend is positioned on the right - + - Defines the fluent interface for configuring columns. + The legend is positioned using OffsetX and OffsetY - - The type of the column builder. - + - Initializes a new instance of the class. + Defines the position of bar/column chart labels - The column. - + - Sets the title displayed in the header of the column. + The label is positioned at the bar center - The text. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).Title("ID")) - %> - - - + - Sets the HTML attributes applied to the header cell of the column. + The label is positioned inside, near the end of the bar + + + + + The label is positioned inside, near the base of the bar + + + + + The label is positioned outside, near the end of the bar. + Not applicable for stacked bar series. + + + + + Defines the fluent interface for building + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables binding. - The attributes. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).HeaderHtmlAttributes(new {@class="order-header"})) + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("SalesData", "Home").Enabled((bool)ViewData["bindSales"]); + }) %> + + The Enabled method is useful when you need to enable binding based on certain conditions. + - + - Sets the HTML attributes applied to the header cell of the column. + Sets the action, controller and route values for the select operation - The attributes. + The route values of the Action method. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).HeaderHtmlAttributes(new {@class="order-header"})) + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select(MVC.Home.SalesData().GetRouteValueDictionary()); + }) %> - + - Sets the HTML attributes applied to the footer cell of the column. + Sets the action, controller and route values for the select operation - The attributes. + Name of the action. + Name of the controller. + The route values. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).FooterHtmlAttributes(new {@class="order-footer"})) + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("SalesData", "Home", new RouteValueDictionary{ {"month", 1} }); + }) %> - + - Sets the HTML attributes applied to the footer cell of the column. + Sets the action, controller and route values for the select operation - The attributes. + Name of the action. + Name of the controller. + The route values. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).FooterHtmlAttributes(new {@class="order-footer"})) + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("SalesData", "Home", new { month = 1 }); + }) %> - + - Sets the HTML attributes applied to the content cell of the column. + Sets the action and controller for the select operation - The attributes. + Name of the action. + Name of the controller. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).HtmlAttributes(new {@class="order-cell"})) + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("SalesData", "Home"); + }) %> - + - Sets the HTML attributes applied to the content cell of the column. + Sets the route and values for the select operation - The attributes. + Name of the route. + The route values. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).HtmlAttributes(new {@class="order-cell"})) + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"month", 1} }); + }) %> - + - Sets the width of the column in pixels. + Sets the route and values for the select operation - The width in pixels. + Name of the route. + The route values. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).Width(100)) + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default", new {month = 1}); + }) %> - + - Sets the width of the column. + Sets the route name for the select operation - The width to set. + Name of the route. - <% Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => - { - %> - <%= Html.ActionLink("Edit", "Home", new { id = o.OrderID}) %> - <% - }) - .Render(); + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default"); + }) %> - + - Makes the column visible or not. By default all columns are visible. Invisible columns are not rendered in the output HTML. + Sets the action, controller and route values for the select operation + The type of the controller. + The action. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).Visible((bool)ViewData["visible"])) + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select<HomeController>(controller => controller.SalesData())); + }) %> - + - Makes the column hidden or not. By default all columns are not hidden. Hidden columns are rendered in the output HTML but are hidden. + Creates value axis for the . + + The type of the data item to which the chart is bound to + + + + Initializes a new instance of the class. + + The container. + + + + Defines a numeric value axis. + + + + + The parent Chart + + + + + Defines the fluent interface for configuring axes. + + + The type of the series builder. + + + + Initializes a new instance of the class. + The axis. + + + + Sets the axis minor tick size. + + The minor tick size. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).Hidden((bool)ViewData["hidden"])) + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .ValueAxis(a => a.Numeric().MinorTickSize(10)) %> - + - Hides a column. By default all columns are not hidden. Hidden columns are rendered in the output HTML but are hidden. + Sets the axis major tick size. + The major tick size. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).Hidden()) + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .ValueAxis(a => a.Numeric().MajorTickSize(10)) %> - + - Sets the header template for the column. + Sets the major tick type. - The action defining the template. + The major tick type. + + + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .ValueAxis(a => a.Numeric().MajorTickType(ChartAxisTickType.Inside)) + %> + + - + - Sets the header template for the column. + Sets the minor tick type. - The string defining the template. + The minor tick type. + + + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .ValueAxis(a => a.Numeric().MinorTickType(ChartAxisTickType.Inside)) + %> + + - + - Sets the header template for the column. + Configures the major grid lines. - The action defining the template. + The configuration action. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .CategoryAxis(axis => axis + .Categories(s => s.DateString) + .MajorGridLines(lines => lines.Visible(true)) + ) + %> + + - + - Sets the footer template for the column. + Sets color and width of the major grid lines and enables them. - The action defining the template. + The major gridlines width + The major gridlines color (CSS syntax) + + + <%= Html.Telerik().Chart() + .Name("Chart") + .CategoryAxis(axis => axis + .Categories(s => s.DateString) + .MajorGridLines(2, "red") + ) + %> + + - + - Sets the footer template for the column. + Configures the minor grid lines. - The string defining the template. + The configuration action. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .CategoryAxis(axis => axis + .Categories(s => s.DateString) + .MinorGridLines(lines => lines.Visible(true)) + ) + %> + + - + - Sets the footer template for the column. + Sets color and width of the minor grid lines and enables them. - The action defining the template. + The minor gridlines width + The minor gridlines color (CSS syntax) + + + <%= Html.Telerik().Chart() + .Name("Chart") + .CategoryAxis(axis => axis + .Categories(s => s.DateString) + .MinorGridLines(2, "red") + ) + %> + + - + - Gets or sets the column. + Configures the axis line. - The column. + The configuration action. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .CategoryAxis(axis => axis + .Categories(s => s.DateString) + .Line(line => line.Color("#f00")) + ) + %> + + - + - Defines an interface that supports navigation. + Sets color and width of the lines and enables them. + The axis line width + The axis line color (CSS syntax) + + + <%= Html.Telerik().Chart() + .Name("Chart") + .CategoryAxis(axis => axis + .Categories(s => s.DateString) + .Line(2, "#f00") + ) + %> + + - + - Gets or sets the name of the route. + Gets or sets the axis. - The name of the route. + The axis. - + - Gets or sets the name of the controller. + Defines the fluent interface for configuring numeric axis. - The name of the controller. - + - Gets or sets the name of the action. + Initializes a new instance of the class. - The name of the action. + The axis. - + - Gets the route values. + Sets the axis minimum value. - The route values. + The axis minimum value. + + + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .ValueAxis(a => a.Numeric().Min(4)) + %> + + - + - Gets or sets the URL. + Sets the axis maximum value. - The URL. + The axis maximum value. + + + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .ValueAxis(a => a.Numeric().Max(4)) + %> + + - + - Determines if group header should be shown. + Sets the interval between major divisions. - true if visible, otherwise false. + The interval between major divisions. + + + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .ValueAxis(a => a.Numeric().MajorUnit(4)) + %> + + - + - Gets or sets a value indicating whether member access expression used - by this builder should be lifted to null. The default value is true; + Sets value at which the first perpendicular axis crosses this axis. - - true if member access should be lifted to null; otherwise, false. - - - - Provided expression should have string type - - - ArgumentException. - - - ArgumentException. - - - - Provided 's is not - - - - Provided type is not - - - - Provided 's is not - - - - - Provided 's is not - - - - - - - - ArgumentException. - - - did not implement . - - - - Invalid name for property or field; or indexer with the specified arguments. - - - - InvalidOperationException. - - - InvalidCastException. + The value at which the first perpendicular axis crosses this axis. + + + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .ValueAxis(a => a.Numeric().AxisCrossingValue(4)) + %> + + - + - Holds extension methods for . + Sets the axis labels format + The axis labels format. + + + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .ValueAxis(a => a.Numeric().Format("{0:C}")) + %> + + - - - Child element with name specified by does not exists. - + + + Defines the fluent interface for configuring the . + - + - Represents a filtering descriptor which serves as a container for one or more child filtering descriptors. + Initializes a new instance of the class. + The chart title. - + - Base class for all used for - handling the logic for property changed notifications. + Sets the title text + The text title. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Title(title => title.Text("Chart")) + .Render(); + %> + + - + - Represents a filtering abstraction that knows how to create predicate filtering expression. + Sets the title font + The title font (CSS format). + + + <% Html.Telerik().Chart() + .Name("Chart") + .Title(title => title.Font("16px Verdana, sans-serif")) + .Render(); + %> + + - + - Creates a predicate filter expression used for collection filtering. + Sets the title position - The instance expression, which will be used for filtering. - A predicate filter expression. + The title position. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Title(title => title.Position(ChartTitlePosition.Bottom)) + .Render(); + %> + + - + - Creates a filter expression by delegating its creation to - , if - is , otherwise throws + Sets the title alignment - The instance expression, which will be used for filtering. - A predicate filter expression. - Parameter should be of type + The title alignment. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Title(title => title.Align(ChartTextAlignment.Left)) + .Render(); + %> + + - + - Creates a predicate filter expression used for collection filtering. + Sets the title visibility - The parameter expression, which will be used for filtering. - A predicate filter expression. + The title visibility. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Title(title => title.Visible(false)) + .Render(); + %> + + - + - Creates a predicate filter expression combining - expressions with . + Sets the title margin - The parameter expression, which will be used for filtering. - A predicate filter expression. + The title top margin. + The title right margin. + The title top margin. + The title top margin. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Title(title => title.Margin(20)) + .Render(); + %> + + - + - Gets or sets the logical operator used for composing of . + Sets the title margin - The logical operator used for composition. + The title margin. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Title(title => title.Margin(20)) + .Render(); + %> + + - + - Gets or sets the filter descriptors that will be used for composition. + Sets the title padding - The filter descriptors used for composition. + The title top padding. + The title right padding. + The title top padding. + The title top padding. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Title(title => title.Padding(20)) + .Render(); + %> + + - + - Logical operator used for filter descriptor composition. + Sets the title padding + The title padding. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Title(title => title.Padding(20)) + .Render(); + %> + + - + - Combines filters with logical AND. + Sets the title border + The title border width. + The title border color. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Title(title => title.Border(1, "#000")) + .Render(); + %> + + - + - Combines filters with logical OR. + Defines the fluent interface for configuring the . - + - The class enables implementation of custom filtering logic. + Initializes a new instance of the class. + The chart legend. - + - The method checks whether the passed parameter satisfies filter criteria. + Sets the legend font + The legend font (CSS format). + + + <% Html.Telerik().Chart() + .Name("Chart") + .Legend(legend => legend.Font("16px Verdana, sans-serif")) + .Render(); + %> + + - + - Creates a predicate filter expression that calls . + Sets the legend position - The parameter expression, which parameter - will be passed to method. + The legend position. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Legend(legend => legend.Position(ChartLegendPosition.Bottom)) + .Render(); + %> + + - + - If false will not execute. + Sets the legend visibility + The legend visibility. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Legend(legend => legend.Visible(false)) + .Render(); + %> + + - + - Represents declarative filtering. + Sets the legend X and Y offset from its position + The legend X offset from its position. + The legend Y offset from its position. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Legend(legend => legend.Offset(10, 50)) + .Render(); + %> + + - + - Initializes a new instance of the class. + Sets the legend margin + The legend top margin. + The legend right margin. + The legend top margin. + The legend top margin. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Legend(legend => legend.Margin(0, 5, 5, 0)) + .Render(); + %> + + - + - Initializes a new instance of the class. + Sets the legend margin - The member. - The filter operator. - The filter value. + The legend margin. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Legend(legend => legend.Margin(20)) + .Render(); + %> + + - + - Creates a predicate filter expression. + Sets the legend padding - The parameter expression, which will be used for filtering. - A predicate filter expression. + The legend top padding. + The legend right padding. + The legend top padding. + The legend top padding. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Legend(legend => legend.Padding(0, 5, 5, 0)) + .Render(); + %> + + - + - Determines whether the specified descriptor - is equal to the current one. + Sets the legend padding - The other filter descriptor. - - True if all members of the current descriptor are - equal to the ones of , otherwise false. - + The legend padding. + + + <% Html.Telerik().Chart() + .Name("Chart") + .Legend(legend => legend.Padding(20)) + .Render(); + %> + + - + - Determines whether the specified - is equal to the current descriptor. + Sets the legend border + The legend border width. + The legend border color (CSS syntax). + + + <% Html.Telerik().Chart() + .Name("Chart") + .Legend(legend => legend.Border(1, "#000")) + .Render(); + %> + + - + - Serves as a hash function for a particular type. + Defines the fluent interface for configuring the . - - A hash code for the current filter descriptor. - - + - Gets or sets the member name which will be used for filtering. + Initializes a new instance of the class. - The member that will be used for filtering. + The client events. - + - Gets or sets the type of the member that is used for filtering. - Set this property if the member type cannot be resolved automatically. - Such cases are: items with ICustomTypeDescriptor, XmlNode or DataRow. - Changing this property did not raise - event. + Defines the inline handler of the OnLoad client-side event - The type of the member used for filtering. + The action defining the inline handler. + + + <% Html.Telerik().Chart() + .Name("Chart") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + - + - Gets or sets the filter operator. + Defines the inline handler of the OnLoad client-side event - The filter operator. + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Chart() + .Name("Chart") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + - + - Gets or sets the target filter value. + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - The filter value. + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + - + - Represents collection of . + Defines the fluent interface for configuring the component. - + - Operator used in + Initializes a new instance of the class. + The component. - + - Left operand must be smaller than the right one. - - - - - Left operand must be smaller than or equal to the right one. - - - - - Left operand must be equal to the right one. + Configures the client-side events. + The client events configuration action. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .ClientEvents(events => events + .OnLoad("onLoad") + ) + %> + + - + - Left operand must be different from the right one. + Sets the theme of the chart. + The Chart theme. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .Theme("Telerik") + %> + + - + - Left operand must be larger than the right one. + Sets the Chart area. + The Chart area. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .ChartArea(chartArea => chartArea.margin(20)) + %> + + - + - Left operand must be larger than or equal to the right one. + Sets the Plot area. + The Plot area. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .PlotArea(plotArea => plotArea.margin(20)) + %> + + - + - Left operand must start with the right one. + Sets the title of the chart. + The Chart title. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .Title("Yearly sales") + %> + + - + - Left operand must end with the right one. + Defines the title of the chart. + The configuration action. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .Title(title => title.Text("Yearly sales")) + %> + + - + - Left operand must contain the right one. + Sets the legend visibility. + A value indicating whether to show the legend. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .Legend(false) + %> + + - + - Left operand must be contained in the right one. + Configures the legend. + The configuration action. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .Legend(legend => legend.Visible(true).Position(ChartLegendPosition.Bottom)) + %> + + - - InvalidOperationException. - - + - Gets the key for this group. + Defines the chart series. - The key for this group. + The add action. + + + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .Series(series => + { + series.Bar(s => s.SalesAmount); + }) + %> + + - + - Gets the items in this groups. + Defines the options for all chart series of the specified type. - The items in this group. + The configurator. + + + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .SeriesDefaults(series => series.Bar().Stack(true)) + %> + + - + - Gets a value indicating whether this instance has sub groups. + Configures the category axis - - true if this instance has sub groups; otherwise, false. - + The configurator + + + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .CategoryAxis(axis => axis + .Categories(s => s.DateString) + ) + %> + + - + - Gets the count. + Configures the value axis - The count. + The configurator + + + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .ValueAxis(a => a.Numeric().TickSize(4)) + %> + + - + - Gets the subgroups, if is true, otherwise empty collection. + Use it to configure binding. - The subgroups. + Use the configurator to set different data binding options. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("SalesData", "Chart").Enabled((bool)ViewData["bindSales"]); + }) + %> + + - + - Gets a value indicating whether this instance has any sub groups. + Sets the series colors. - - true if this instance has sub groups; otherwise, false. - + A list of the series colors. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .SeriesColors(new string[] { "#f00", "#0f0", "#00f" }) + %> + + - + - Gets the number of items in this group. + Sets the series colors. - The items count. + The series colors. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .SeriesColors("#f00", "#0f0", "#00f") + %> + + - + - Gets the subgroups, if is true, otherwise empty collection. + Creates series for the . - The subgroups. + The type of the data item to which the chart is bound to - + - Gets the items in this groups. + Initializes a new instance of the class. - The items in this group. + The container. - + - Gets the key for this group. + Defines bound bar series. - The key for this group. + + The expression used to extract the series value from the chart model + - + - Gets the aggregate results generated for the given aggregate functions. + Defines bound bar series. - The aggregate results for the provided aggregate functions. - functions is null. + + The name of the value member. + - + - Gets or sets the aggregate functions projection for this group. - This projection is used to generate aggregate functions results for this group. + Defines bound bar series. - The aggregate functions projection. + + The type of the value member. + + + The name of the value member. + - + - Creates the aggregate expression that is used for constructing expression - tree that will calculate the aggregate result. + Defines bar series bound to inline data. - The grouping expression. - - + + The data to bind to. + - + - Generates default name for this function using this type's name. + Defines bound column series. - - Function name generated with the following pattern: - {.}_{} - + + The expression used to extract the series value from the chart model + - + - Gets or sets the informative message to display as an illustration of the aggregate function. + Defines bound bar series. - The caption to display as an illustration of the aggregate function. + + The name of the value member. + - + - Gets or sets the name of the field, of the item from the set of items, which value is used as the argument of the aggregate function. + Defines bound bar series. - The name of the field to get the argument value from. + + The type of the value member. + + + The name of the value member. + - + - Gets or sets the name of the aggregate function, which appears as a property of the group record on which records the function works. + Defines bar series bound to inline data. - The name of the function as visible from the group record. + + The data to bind to + - + - Gets or sets a string that is used to format the result value. + Defines bound line series. - The format string. + + The expression used to extract the series value from the chart model + - + - Represents a collection of items. + Defines bound line series. + + The name of the value member. + - + - Gets the with the specified function name. + Defines bound line series. - - First with the specified function name - if any, otherwise null. - + + The type of the value member. + + + The name of the value member. + - + - Initializes a new instance of the class. + Defines line series bound to inline data. - The value of the result. - The number of arguments used for the calculation of the result. - Function that generated the result. - function is null. + + The data to bind to + - + - Initializes a new instance of the class. + The parent Chart - that generated the result. - function is null. - + - Initializes a new instance of the class. + Defines the fluent interface for configuring bar series. - The value of the result. - that generated the result. + The type of the data item - + - Returns a that represents the current . + Initializes a new instance of the class. - - A that represents the current . - + The series. - + - Gets or sets the value of the result. + Sets a value indicating if the bars should be stacked. - The value of the result. + A value indicating if the bars should be stacked. + + + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .Series(series => series.Bar(s => s.Sales).Stack(true)) + %> + + - + + - Gets the formatted value of the result. + Sets a value indicating the distance between bars / categories. - The formatted value of the result. + + Value of 1 means that the distance between bars is equal to their width. + The default value is 0 + + + + <%= Html.Telerik().Chart(Model) + .Name("Chart") + .Series(series => series.Spacing(s => s.Sales).Spacing(1)) + %> + + - + - Gets or sets the number of arguments used for the calulation of the result. + Configures the bar chart labels. - The number of arguments used for the calulation of the result. + The configuration action. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Bar(s => s.Sales) + .Labels(labels => labels + .Position(ChartBarLabelsPosition.InsideEnd) + .Visible(true) + ); + ) + %> + + - + - Gets or sets the text which serves as a caption for the result in a user interface.. + Sets the visibility of bar chart labels. - The text which serves as a caption for the result in a user interface. + The visibility. The default value is false. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .Series(series => series + .Bar(s => s.Sales) + .Labels(true); + ) + %> + + - + - Gets the name of the function. + Sets the bars border - The name of the function. + The bars border width. + The bars border color (CSS syntax). + + + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series.Bar(s => s.Sales).Border("1", "#000")) + .Render(); + %> + + - + - Gets the first which - is equal to . + Sets the bar effects overlay - - The for the specified function if any, otherwise null. - + The bar effects overlay. The default is ChartBarSeriesOverlay.Glass + + + <% Html.Telerik().Chart() + .Name("Chart") + .Series(series => series.Bar(s => s.Sales).Overlay(ChartBarSeriesOverlay.None)) + .Render(); + %> + + - + - Represents a function that returns the arithmetic mean of a set of arguments. + Configures the category axis for the . + The type of the data item to which the chart is bound to - + - Represents an that uses aggregate extension - methods provided in using - as a member selector. + Initializes a new instance of the class. + The chart. - + - Base class for all aggregate functions that will use extension - methods in for aggregation. + Defines bound categories. + + The expression used to extract the categories value from the chart model + - + - Gets the type of the extension methods that holds the extension methods for - aggregation. For example or . + Defines categories. - - The type of that holds the extension methods. The default value is . - + + The list of categories + - + - Creates the aggregate expression using . + Defines categories. - The grouping expression. - - + + The list of categories + - + - Initializes a new instance of the class. + The parent Chart - + - Gets the the Average method name. + Defines the fluent interface for configuring data binding. - Average. - + - Represents a function that returns the number of items in a set of items, including nested sets. + Initializes a new instance of the class. + The configuration. - + - Represents an that uses aggregate extension - methods provided in . + Use it to configure Ajax binding. + + + <%= Html.Telerik().Chart() + .Name("Chart") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("SalesData", "Chart"); + }) + %> + + - + - Creates the aggregate expression using . + An HTML Builder for the Chart component - The grouping expression. - - - + - Initializes a new instance of the class. + Initializes a new instance of the class. + The Chart component. - + - Gets the the Count method name. + Creates the chart top-level div. - Count. + - + - Gets the the First method name. + Builds the Chart component markup. - First. + - + - Represents a function that returns the last item from a set of items. + Represents chart bar or column series + The Chart model type + The value type - + - Initializes a new instance of the class. + Represents Chart series bound to data. + The Chart model type + The value type - + - Gets the the Last method name. + Represents a series in the component - Last. + The type of the data item - + - Represents a function that returns the greatest item from a set of items. + Represents chart series - + - Initializes a new instance of the class. + Creates a serializer for the series - + - Gets the the Max method name. + The series name. - Max. - + - Represents a function that returns the least item from a set of items. + The series opacity - + - Initializes a new instance of the class. + The series base color - + - Gets the the Min method name. + Initializes a new instance of the class. - Min. + The chart. - + - Represents a function that returns the sum of all items from a set of items. + Creates a serializer for the series - + - Initializes a new instance of the class. + Gets or sets the chart. + The chart. - + - Gets the the Min method name. + Gets or sets the title of the series. - Min. + The title. - + - Represents grouping criteria. + Gets or sets the series opacity. + A value between 0 (transparent) and 1 (opaque). - + - Represents declarative sorting. + Gets or sets the series base color - + - Gets or sets the member name which will be used for sorting. + Represents Chart series bound to data. - The member that will be used for sorting. - + - Gets or sets the sort direction for this sort descriptor. If the value is null - no sorting will be applied. + Gets the data member of the series. - The sort direction. The default value is null. - + - Changes the to the next logical value. + The data used for binding. - + - Gets or sets the type of the member that is used for grouping. - Set this property if the member type cannot be resolved automatically. - Such cases are: items with ICustomTypeDescriptor, XmlNode or DataRow. - Changing this property did not raise - event. + Initializes a new instance of the class. - The type of the member used for grouping. + The chart. + The expression. - + - Gets or sets the content which will be used from UI. + Initializes a new instance of the class. - The content that will be used from UI. + The chart. + The data. - + - Gets or sets the aggregate functions used when grouping is executed. + Initializes a new instance of the class. - The aggregate functions that will be used in grouping. + The chart. - + - Calculates unique int for given group in a group sequence, - taking into account groups order, each group key and groups' count. + Binds the series - - Gets or sets the format for displaying the value in the tooltip. - The value. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .Tooltip(tooltip => tooltip.Format("{0:P")) - %> - - + + + Gets a function which returns the value of the property to which the column is bound to. + - - Display tooltip while drag. - The value. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .Tooltip(tooltip => tooltip.Enable(false)) - %> - - + + + The data used for binding. + - - Defines the fluent interface for configuring the . + + + The expression used to extract the value from the model + - + - Defines the inline handler of the OnChange client-side event + Gets the model data member name. - The action defining the inline handler. - - - <% Html.Telerik().RangeSlider() - .Name("RangeSlider") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - + The model data member name. - + - Defines the name of the JavaScript function that will handle the the OnChange client-side event. + Represents chart bar or column series - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().RangeSlider() - .Name("RangeSlider") - .ClientEvents(events => events.OnChange("onChange")) - %> - - - + - Defines the inline handler of the OnLoad client-side event + A value indicating if the bars should be stacked. - The action defining the inline handler. - - - <% Html.Telerik().RangeSlider() - .Name("RangeSlider") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - + - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + The distance between category clusters. - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().RangeSlider() - .Name("RangeSlider") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - + - Defines the inline handler of the OnSlide client-side event. + Space between bars. - The action defining the inline handler. - - - <% Html.Telerik().RangeSlider() - .Name("RangeSlider") - .ClientEvents(events => events.OnSlide(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - + - Defines the name of the JavaScript function that will handle the the OnSlide client-side event. + The orientation of the bars. - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().RangeSlider() - .Name("RangeSlider") - .ClientEvents(events => events.OnSlide("OnSlide")) - %> - - - - Defines the fluent interface for configuring the . + + + Gets the bar chart data labels configuration + - + - Defines the inline handler of the OnChange client-side event + Gets or sets the bar's border - The action defining the inline handler. - - - <% Html.Telerik().Slider() - .Name("Slider") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - + - Defines the name of the JavaScript function that will handle the the OnChange client-side event. + Gets or sets the effects overlay - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .ClientEvents(events => events.OnChange("onChange")) - %> - - - + - Defines the inline handler of the OnLoad client-side event + Initializes a new instance of the class. - The action defining the inline handler. - - - <% Html.Telerik().Slider() - .Name("Slider") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - + The parent chart + The expression used to extract the series value from the chart model. - + - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + Initializes a new instance of the class. - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - + The parent chart + The data to bind to. - + - Defines the inline handler of the OnSlide client-side event. + Initializes a new instance of the class. - The action defining the inline handler. - - - <% Html.Telerik().Slider() - .Name("Slider") - .ClientEvents(events => events.OnSlide(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - + The chart. - + - Defines the name of the JavaScript function that will handle the the OnSlide client-side event. + Creates a serializer for the series - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .ClientEvents(events => events.OnSlide("OnSlide")) - %> - - - - Defines the fluent interface for configuring the component. + + + A value indicating if the bars should be stacked. + - - Initializes a new instance of the class. - The component. + + + The distance between category clusters. + + + A value of 1 means that there is a total of 1 column width / bar height between categories. + The distance is distributed evenly on each side. + - - Sets the value of the range slider. + + + Space between bars. + + + Value of 1 means that the distance between bars is equal to their width. + - - Sets the value of the range slider. + + + The orientation of the bars. + + + Can be either horizontal (bar chart) + or vertical vertical (column chart). + The default value is horizontal. + - - Sets orientation of the range slider. + + + Gets the bar chart data labels configuration + + - - Sets a value indicating how to display the tick marks on the range slider. + + + Gets or sets the bar border + - - Sets the minimum value of the range slider. + + + Gets or sets the effects overlay + - - Sets the maximum value of the range slider. + + + Defines the possible bar series orientation. + - - Sets the step with which the range slider value will change. + + + The bars are horizontal (bar chart) + - - Sets the delta with which the value will change when user click on the track. + + + The bars are vertical (column chart) + - - Display tooltip while drag. + + + Represents the default settings for all series in the component + + The type of the data item - + - Use it to configure tooltip while drag. + Represents default chart series settings - Use builder to set different tooltip options. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .Tooltip(tooltip => tooltip - .Enable(true) - .Format("{0:P}") - ); - %> - - - - Configures the client-side events. - The client events action. - - - <%= Html.Telerik().RangeSlider() - .Name("RangeSlider") - .ClientEvents(events => - events.OnLoad("onLoad").OnChange("onChange")) - %> - - + + + The default settings for all bar series + - - Sets a value indicating whether the range slider can respond to user interaction. + + + The default settings for all column series + - - Defines the fluent interface for configuring the component. + + + The default settings for all line series + - - Initializes a new instance of the class. - The component. + + + Initializes a new instance of the class. + + The chart. - - Sets the value of the slider. + + + Creates a serializer for the series defaults + - - Sets the title of the slider increase button. + + + The default settings for all bar series. + - - Sets whether slider to be rendered with increase/decrease button. + + + The default settings for all column series. + - - Sets the title of the slider decrease button. + + + The default settings for all line series. + - - Sets orientation of the slider. + + + Represents the options of the line chart labels + - - Sets a value indicating how to display the tick marks on the slider. + + + Initializes a new instance of the class. + - - Sets the minimum value of the slider. + + + Creates a serializer + - - Sets the maximum value of the slider. + + + Gets or sets the label position. + + + The default value is for clustered series and + for stacked series. + - - Sets the step with which the slider value will change. + + + Represents chart line series + + The Chart model type + The value type - - Sets the delta with which the value will change when user click on the slider. + + + Represents chart line chart series + - - Display tooltip while drag. + + + A value indicating if the lines should be stacked. + - + - Use it to configure tooltip. + Gets the line chart data labels configuration - Use builder to set different tooltip options. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .Tooltip(tooltip => tooltip - .Enable(true) - .Format("{0:P}") - ); - %> - - - - Configures the client-side events. - The client events action. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .ClientEvents(events => - events.OnLoad("onLoad").OnChange("onChange")) - %> - - + + + The line chart markers configuration. + - - Sets a value indicating whether the slider can respond to user interaction. + + + The line chart line width. + - - Specifies the general layout of the slider. + + + Initializes a new instance of the class. + + The parent chart + The expression used to extract the series value from the chart model. - - The slider is oriented horizontally. + + + Initializes a new instance of the class. + + The parent chart + The data to bind to. - - The slider is oriented vertically. + + + Initializes a new instance of the class. + + The chart. - - Specifies the location of tick marks in a component. + + + Creates a serializer for the series + - - No tick marks appear in the component. + + + A value indicating if the lines should be stacked. + - + - Tick marks are located on the top of a horizontal component or on the - left of a vertical component. + Gets the line chart data labels configuration - + - Tick marks are located on the bottom of a horizontal component or on the - right side of a vertical component. + The line chart markers configuration. - - Tick marks are located on both sides of the component. + + + The line chart line width. + - + - Sets the pane size. + Defines the available bar series effects overlays + + + + + The bars have no effect overlay + + + + + The bars have glass effect overlay + + + + + Represents the chart binding settings + + + + + Initializes a new instance of the class. + + The chart. + + + + Serializes the binding settings to the specified writer + + The settings key + The writer + + + + Gets or sets a value indicating if the binding is enabled + + + + + The request settings for the Select operation + + + + + Represents the chart data binding settings + + + + + Initializes a new instance of the class. + + The chart. + + + + Represents the chart Ajax binding settings + + + + + Gets the id. + + The id. + + + + Gets the items of the ComboBox. + + + + + Defines the fluent interface for building + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables filtering. - The desired size. Only sizes in pixels and percentages are allowed. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(filtering => { - panes.Add().Size("220px"); + filtering.Enabled((bool)ViewData["filtering"]); }) %> + + The Enabled method is useful when you need to enable/disable filtering based on certain conditions. + - + - Sets the minimum pane size. + Defines filter mode. - The desired minimum size. Only sizes in pixels and percentages are allowed. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(filtering => { - panes.Add().MinSize("220px"); + filtering.FilterMode(AutoCompleteFilterMode.StartsWith); }) %> - + - Sets the maximum pane size. + Set minimum chars number needed to start filtering. - The desired maximum size. Only sizes in pixels and percentages are allowed. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(filtering => { - panes.Add().MaxSize("220px"); + filtering.MinimumChars(2); }) %> - + - Sets whether the pane shows a scrollbar when its content overflows. + Defines the fluent interface for configuring the component. - Whether the pane will be scrollable. + + + + Configures the client-side events. + + The client events action. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add().Scrollable(false); - }) + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => + events.OnLoad("onLoad") + ) %> - + - Sets whether the pane can be resized by the user. + Configures the effects of the dropdownlist. - Whether the pane will be resizable. + The action which configures the effects. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add().Resizable(true); - }) - %> + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .Effects(fx => + { + fx.Slide() + .OpenDuration(AnimationDuration.Normal) + .CloseDuration(AnimationDuration.Normal); + }) - + - Sets whether the pane is initially collapsed. + Defines the items in the DropDownList - Whether the pane will be initially collapsed. + The add action. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .Items(items => { - panes.Add().Collapsed(true); + items.Add().Text("First Item"); + items.Add().Text("Second Item"); }) %> - + + + + + - Sets whether the pane can be collapsed by the user. + Initializes a new instance of the class. + + The component. + + + + Use it to enable filtering of items. - Whether the pane can be collapsed by the user. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add().Collapsible(true); - }) + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(); %> - + - Sets the HTML attributes applied to the outer HTML element rendered for the item + Use it to configure filtering settings. - The attributes. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add().HtmlAttributes(new { style = "background: red" }); - }) + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(filtering => filtering.Enabled(true) + .FilterMode(AutoCompleteFilterMode.Contains)); %> - + - Sets the HTML attributes applied to the outer HTML element rendered for the item + Sets the HTML attributes of the hidden input element. - The attributes. + The HTML attributes. - + - Sets the HTML content of the pane. + Sets the HTML attributes of the hidden input element. - The action which renders the HTML content. - - <% Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add() - .Content(() => { >% - <p>Content</p> - %<}); - }) - .Render(); - %> - + The HTML attributes. - + - Sets the HTML content of the pane. + Sets the HTML attributes of the input element. - The Razor template for the HTML content. - - @(Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add() - .Content(@<p>Content</p>); - }) - .Render();) - + The HTML attributes. - + - Sets the HTML content of the pane. + Sets the HTML attributes of the input element. - The HTML content. - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add() - .Content("<p>Content</p>"); - }) - %> - + The HTML attributes. - + - Sets the Url which will be requested to return the pane content. + Use it to enable filling the first matched item text. - The route values of the Action method. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => { - panes.Add() - .LoadContentFrom(MVC.Home.Index().GetRouteValueDictionary()); - }) + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .AutoFill(true) %> - + - Sets the Url, which will be requested to return the pane content. + Use it to configure Data binding. - The action name. - The controller name. + Action that configures the data binding options. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => { - panes.Add() - .LoadContentFrom("AjaxView_OpenSource", "Splitter"); - }) + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .DataBinding(dataBinding => dataBinding + .Ajax().Select("_AjaxLoading", "ComboBox") + ); %> - + - Sets the Url, which will be requested to return the content. + Use it to enable highlighting of first matched item. - The action name. - The controller name. - Route values. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => { - panes.Add() - .LoadContentFrom("AjaxView_OpenSource", "Splitter", new { id = 10 }); - }) + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .HighlightFirstMatch(true) %> - + - Sets the Url, which will be requested to return the pane content. + Use it to set selected item index - The url. + Item index. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => { - panes.Add() - .LoadContentFrom(Url.Action("AjaxView_OpenSource", "Splitter")); - }) + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .SelectedIndex(0); %> - + - Defines the fluent interface for configuring the . + Enables or disables the combobox. - + - The fluent interface that configures the . + Sets whether to open items list on focus. - + - Defines the inline handler of the OnLoad client-side event + Defines the fluent interface for building + + + + + Defines the fluent interface for building + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables binding. - The action defining the inline handler. - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home").Enabled((bool)ViewData["ajax"]); + }) %> + + The Enabled method is useful when you need to enable binding based on certain conditions. + - + - Defines the inline handler of the OnLoad client-side event + Sets the action, controller and route values for the select operation - The handler code wrapped in a text tag (Razor syntax). + The route values of the Action method. - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select(MVC.Home.Indec(1).GetRouteValueDictionary()); + }) %> - + - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + Sets the action, controller and route values for the select operation - The name of the JavaScript function that will handle the event. + Name of the action. + Name of the controller. + The route values. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnLoad("onLoad")) + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home", new RouteValueDictionary{ {"id", 1} }); + }) %> - + - Defines the inline handler of the OnResize client-side event + Sets the action, controller and route values for the select operation - The action defining the inline handler. + Name of the action. + Name of the controller. + The route values. - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnResize(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home", new { {"id", 1} }); + }) %> - + - Defines the inline handler of the OnResize client-side event + Sets the action, controller and route values for the select operation - The handler code wrapped in a text tag (Razor syntax). + Name of the action. + Name of the controller. - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnResize( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home"); + }) %> - + - Defines the name of the JavaScript function that will handle the the OnResize client-side event. + Sets the route and values for the select operation - The name of the JavaScript function that will handle the event. + Name of the route. + The route values. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnResize("onResize")) + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"id", 1} }); + }) %> - + - Defines the inline handler of the OnExpand client-side event + Sets the route and values for the select operation - The action defining the inline handler. + Name of the route. + The route values. - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnExpand(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default", new {id=1}); + }) %> - + - Defines the inline handler of the OnExpand client-side event + Sets the route name for the select operation - The handler code wrapped in a text tag (Razor syntax). + Name of the route. - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnExpand( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default"); + }) %> - + - Defines the name of the JavaScript function that will handle the the OnExpand client-side event. + Initializes a new instance of the class. - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnExpand("onExpand")) - %> - - + The settings. - + - Defines the inline handler of the OnCollapse client-side event + Enables or disables cache of items. - The action defining the inline handler. - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnCollapse(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home").Cache((bool)ViewData["cache"]); + }) %> + + The Cache method is useful when you need to enable/disable caching based on certain conditions. + Default value is true. + - + - Defines the inline handler of the OnCollapse client-side event + Specifies delay of the Ajax/WebServer request. - The handler code wrapped in a text tag (Razor syntax). - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnCollapse( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home").Delay(400); + }) %> + + The Delay method is useful when you need to postpone request to the server for some time. + - + - Defines the name of the JavaScript function that will handle the the OnCollapse client-side event. + Defines the fluent interface for building + + + + + Initializes a new instance of the class. + + The settings. + + + + Defines filter mode. - The name of the JavaScript function that will handle the event. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnCollapse("onCollapse")) + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(filtering => + { + filtering.FilterMode(AutoCompleteFilterMode.StartsWith); + }) %> - + - Defines the inline handler of the OnContentLoad client-side event + Set minimum chars number needed to start filtering. - The action defining the inline handler. - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnContentLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(filtering => + { + filtering.MinimumChars(2); + }) %> - + - Defines the inline handler of the OnContentLoad client-side event + Defines the fluent interface for configuring the data binding. + + + + + Initializes a new instance of the class. + + The configuration. + + + + Use it to configure Ajax binding. - The handler code wrapped in a text tag (Razor syntax). - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnContentLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .DataBinding(dataBinding => dataBinding + .Ajax().Select("_AjaxLoading", "TreeView") + ) %> - + - Defines the name of the JavaScript function that will handle the the OnContentLoad client-side event. + Use it to configure web service binding. - The name of the JavaScript function that will handle the event. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnContentLoad("onContentLoad")) + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .DataBinding(dataBinding => dataBinding + .WebService().Select("~/Models/ProductDDI.asmx/GetProducts") + ) %> - + - Specifies the orientation in which the splitter panes will be ordered + Defines the fluent interface for building - + - Panes are oredered horizontally + Defines the fluent interface for configuring the treeview webservice. - + - Panes are oredered vertically + Initializes a new instance of the class. + The settings. - + - Sets the splitter orientation. + Specify the web service url for loading data - The desired orientation. + The web service url - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Orientation(SplitterOrientation.Vertical) + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => dataBinding + .WebService().Select("~/Models/ProductDDI.asmx/GetProducts") + ) %> - + - Defines the panes in the splitter. + Enables / disables web service functionality. - The action that configures the panes. + Whether to enable or to disable the web service. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => { - panes.Add().LoadContentFrom("Navigation", "Shared"); - panes.Add().LoadContentFrom("Index", "Home"); - }) + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => dataBinding + .Ajax().Enabled(true).Select("_AjaxLoading", "DropDownList") + ) %> + + The Enabled method is useful when you need to enable ajax based on certain conditions. + - + - Configures the client events for the splitter. + Initializes a new instance of the class. + + The settings. + + + + Enables or disables cache of items. - The action that configures the client events. - <%= Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events - .OnLoad("onLoad") - ) + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .DataBinding(dataBinding => + { + dataBinding.WebService().Select("~/Models/Product.asmx/GetProducts").Cache((bool)ViewData["cache"]); + }) %> + + The Cache method is useful when you need to enable/disable caching based on certain conditions. + Default value is true. + - - - Defines properties for a content pane. - - - - - Defines whether one navigation item can have content loaded asynchroniously. - - - - - Url, which will be used as a destination for the Ajax request. - - - - - Specifies the size of the pane - - - - - Specifies the minimum size of the pane - - - - - Specifies the maximum size of the pane - - - - - Specifies whether the pane is initially collapsed - - - + - Specifies whether the pane can be collapsed by the user + Specifies delay of the Ajax/WebServer request. + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .DataBinding(dataBinding => + { + dataBinding.WebService().Select("~/Models/Product.asmx/GetProducts").Delay(400); + }) + %> + + + + The Delay method is useful when you need to postpone request to the server for some time. + - + - Specifies whether the pane can be resized by the user + Represents a client-side event of a view component - + - Specifies whether the pane shows a scrollbar when its content overflows + An action that renders the code of the client-side handler upon execution. - + - Specifies URL from which to load the pane content + An action that renders the code of the client-side handler upon execution. - + - Specifies HTML attributes for the pane + A function that returns the code of the client-side handler. - + - Specifies the pane contents + The name of the client-side handler function. - + Gets the id. The id. - - - Defines the fluent interface for configuring the component. - - - + - Defines the fluent interface for configuring the component. + Defines the fluent interface for configuring the component. - + - Initializes a new instance of the class. + Initializes a new instance of the class. The component. - - - Sets the initial value of the textbox. - - - - - Sets the step, used ti increment/decrement the value of the textbox. - - - - - Sets the minimal possible value allowed to the user. - - - - - Sets the maximal possible value allowed to the user. - - - - - Sets the group size of the number. - - - - - Sets the group separator of the number. - - - + - Sets the index of the negative pattern. + Configures the effects of the datepicker. + The action which configures the effects. + + + <%= Html.Telerik().DatePicker() + .Name("DatePicker") + .Effects(fx => + { + fx.Height() + .Opacity() + .OpenDuration(AnimationDuration.Normal) + .CloseDuration(AnimationDuration.Normal); + }) + + - + - Sets the text which will be displayed if the textbox is empty. + Sets whether calendar should open on focus. - + - Enables or disables the spin buttons. + Sets the date format, which will be used to parse and format the machine date. - - - + - Define the tooltip text of the up button. + Sets the minimal date, which can be selected in DatePicker. - + - Define the tooltip text of the down button. + Sets the maximal date, which can be selected in DatePicker. - + Configures the client-side events. The client events action. - <%= Html.Telerik().NumericTextBox() - .Name("NumericTextBox") + <%= Html.Telerik().DatePicker() + .Name("DatePicker") .ClientEvents(events => - events.OnLoad("onLoad").OnChange("onChange") + events.OnLoad("onLoad").OnSelect("onSelect") ) %> - + Sets the Input HTML attributes. The HTML attributes. - + Sets the Input HTML attributes. The HTML attributes. - - - Enables or disables the textbox. - - - - - - + - Defines the fluent interface for configuring the component. + Enables or disables the datepicker. - - + - Defines the number of the decimal digits. + Defines the fluent interface for configuring datepicker client events. - + - Sets the decimal separator. + Initializes a new instance of the class. + Datepicker client-side events. + The context of the View. - + - Sets the index of the positive pattern. + Defines the inline handler of the OnChange client-side event + The action defining the inline handler. + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + - + - Sets the percent symbol. + Defines the inline handler of the OnChange client-side event + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnChange( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + - + - Defines the fluent interface for configuring the component. + Defines the name of the JavaScript function that will handle the the OnChange client-side event. + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnChange("onChange")) + %> + + - - + - Defines the number of the decimal digits. + Defines the inline handler of the OnLoad client-side event - - - - Sets the decimal separator. + The action defining the inline handler. + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnOpen client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnOpen(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnOpen client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnOpen( + @<text> + %> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the OnOpen client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnOpen("onOpen")) + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnClose(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnClose( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the OnClose client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnClose("onClose")) + %> + + + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The component. + + + + Sets the value of the dateTimePicker input + + + + + Sets the value of the dateTimePicker input + + + + + Sets the minimal date, which can be selected in DateTimePicker. + + + + + Sets the maximal date, which can be selected in DateTimePicker. + + + + + Sets the minimal time, which can be selected in DateTimePicker. + + + + + Sets the minimal time, which can be selected in DateTimePicker. + + + + + Sets the maximal time, which can be selected in DateTimePicker. + + + + + Sets the maximal time, which can be selected in DateTimePicker. + + + + + Sets the interval between hours. + + + + + Sets the title of the DateTimePicker button. + + + + + Sets the title of the DateTimePicker button. + + + + + Defines the fluent interface for configuring timepicker client events. + + + + + Initializes a new instance of the class. + + Timepicker client-side events. + The context of the View. + + + + Defines the inline handler of the OnChange client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnChange client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnChange( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnChange client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnChange("onChange")) + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnOpen client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnOpen(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnOpen client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnOpen( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnOpen client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnOpen("onOpen")) + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnClose(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnClose( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnClose client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnClose("onClose")) + %> + + + + + + Defines the fluent interface for building + + + + + Initializes a new instance of the class. + + The settings. + + + + Defines the fluent interface for configuring the treeview webservice. + + + + + Initializes a new instance of the class. + + The settings. + + + + Represent item in the DropDownList/ComboBox items. + + + + + Gets the items of the treeview. + + + + + Use it to set selected item index + + Item index. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .SelectedIndex(0); + %> + + + + + + Use it to configure Data binding. + + Action that configures the data binding options. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => dataBinding + .Ajax().Select("_AjaxLoading", "DropDownList") + ); + %> + + + + + + Enables or disables the dropdownlist. + + + + + + + + Initializes a new instance of the class. + + The client events. + The view context. + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnChange client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnChange client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnChange( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnChange client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnChange("onChange")) + %> + + + + + + Defines the inline handler of the OnOpen client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnOpen(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnOpen client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnOpen("onOpen")) + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnClose(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnClose( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnClose client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnClose("onClose")) + %> + + + + + + Defines the inline handler of the OnDataBinding client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnDataBinding(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnDataBinding client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnDataBinding( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnDataBinding client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnDataBinding("OnDataBinding")) + %> + + + + + + Defines the inline handler of the OnDataBound client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnDataBound(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnDataBound client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnDataBound( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnDataBound client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnDataBound("onDataBound")) + %> + + + + + + Defines the inline handler of the OnError client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnError(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnError client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnError( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnError client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnError("onError")) + %> + + + + + + Defines the fluent interface for configuring the data binding. + + + + + Initializes a new instance of the class. + + The configuration. + + + + Use it to configure Ajax binding. + + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => dataBinding + .Ajax().Select("_AjaxLoading", "TreeView") + ) + %> + + + + + + Use it to configure web service binding. + + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => dataBinding + .WebService().Select("~/Models/ProductDDI.asmx/GetProducts") + ) + %> + + + + + + Defines the fluent interface for configuring child DropDonwList items. + + + + + Initializes a new instance of the class. + + The item. + + + + Sets the value for the item. + + The value. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .Items(items => items.Add().Text("First item.")) + %> + + + + + + Sets the value for the item. + + The value. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .Items(items => items.Add().Value("1")) + %> + + + + + + Define when the item will be expanded on intial render. + + If true the item will be selected. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .Items(items => + { + items.Add().Text("First Item").Selected(true); + }) + %> + + + + + + Creates items for the . + + + + + Initializes a new instance of the class. + + The settings. + + + + Defines a item. + + + + + + Determines if content of a given path can be browsed. + + The path which will be browsed. + true if browsing is allowed, otherwise false. + + + + Retrieves the content of a given folder. + + The folder's path, which content will be served. + A containing folder's files and child folders. + Throws 403 Forbidden if the supplied is outside of the valid paths. + Throws 404 File Not Found if refered folder does not exist. + + + + Determines if a file can be uploaded to a given path. + + The path to which the file should be uploaded. + The file which should be uploaded. + true if the upload is allowed, otherwise false. + + + + Uploads a file to a given path. + + The path to which the file should be uploaded. + The file which should be uploaded. + A containing the uploaded file's size and name. + Forbidden + + + + Determines if an image's thumbnail should be served. + + The path to image's thumbnail. + true if image's thumbnail should be served, otherwise false. + + + + Serves an image's thumbnail by given path. + + The path to the image. + Thumbnail of an image. + Throws 403 Forbidden if the is outside of the valid paths. + Throws 404 File Not Found if the refers to a non existant image. + + + + Determines if a file can be deleted. + + The path to the file. + true if file can be deleted, otherwise false. + + + + Deletes a file. + + The path to the file. + An empty . + Forbidden + + + + Determines if a folder can be deleted. + + The path to the folder. + true if folder can be deleted, otherwise false. + + + + Deletes a folder. + + The path to the folder. + An empty . + Forbidden + + + + Determines if a folder can be created. + + The path to the parent folder in which the folder should be created. + Name of the folder. + true if folder can be created, otherwise false. + + + + Creates a folder with a given name. + + The path to the parent folder in which the folder should be created. + Name of the folder. + An empty . + Forbidden + + + + Gets the base paths from which content will be served. + + + + + Gets the valid file extensions by which served files will be filtered. + + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The client events. + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + @(Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + ))) + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnPaste client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnPaste(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + @(Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnPaste( + @<text> + function(e) { + //event handling code + } + </text> + )) + ) + + + + + + Defines the name of the JavaScript function that will handle the the OnPaste client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnPaste("onPaste")) + %> + + + + + + Defines the inline handler of the OnExecute client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnExecute(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnExecute client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnExecute( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnExecute client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnExecute("onExecute")) + %> + + + + + + Defines the inline handler of the OnSelectionChange client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnSelectionChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnSelectionChange client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnSelectionChange( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSelectionChange client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnSelectionChange("onSelectionChange")) + %> + + + + + + Defines the inline handler of the OnChange client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnChange client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnChange( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnChange client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnChange("onChange")) + %> + + + + + + Defines the inline handler of the OnError client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnError(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnError client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnError( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnError client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnError("onError")) + %> + + + + + + Sets the HTML content that will show initially in the editor. + + The action which renders the HTML content. + + <% Html.Telerik().Editor() + .Name("Editor") + .Value(() => { %> + <blockquote> + According to Deep Thought, the answer to the ultimate question of + life, the universe and everything is <strong>42</strong>. + </blockquote> + <% }) + .Render(); + %> + + + + + Sets the HTML content which the item should display as a string. + + An HTML string. + + <%= Html.Telerik().Editor() + .Name("Editor") + .Value("<blockquote>A towel has <strong>immense</strong> psychological value</blockquote>") + %> + + + + + Encode HTML content. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .Value("<blockquote>A towel has <strong>immense</strong> psychological value</blockquote>") + .Encode(true) + %> + + + + + Sets the localization culture of the editor. + + The culture. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .Value("<blockquote>A towel has <strong>immense</strong> psychological value</blockquote>") + .Localizable("de-DE") + %> + + + + + + Enables toggle animation. + + + + + Enables opacity animation. + + + + + Enables opacity animation. + + Builder, which sets different opacity properties. + + + + Enables expand animation. + + + + + Enables expand animation. + + Builder, which sets different expand properties. + + + + Enables slide animation. + + + + + Enables slide animation. + + Builder, which sets different slide properties. + + + + Defines the fluent interface for building + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables binding. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home").Enabled((bool)ViewData["ajax"]); + }) + %> + + + + The Enabled method is useful when you need to enable binding based on certain conditions. + + + + + Sets the action, controller and route values for the select operation + + The route values of the Action method. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select(MVC.Home.Index().GetRouteValueDictionary()); + }) + %> + + + + + + Sets the action, controller and route values for the select operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the action, controller and route values for the select operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home", new { id = 1 }); + }) + %> + + + + + + Sets the action and controller for the select operation + + Name of the action. + Name of the controller. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home"); + }) + %> + + + + + + Sets the route and values for the select operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the route and values for the select operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default", new {id=1}); + }) + %> + + + + + + Sets the route name for the select operation + + Name of the route. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default"); + }) + %> + + + + + + Sets the action, controller and route values for the select operation + + The type of the controller. + The action. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select<HomeController>(controller => controller.Index())); + }) + %> + + + + + + Sets the action, controller and route values for the insert operation + + The route values of the Action method. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Insert(MVC.Home.Index(1).GetRouteValueDictionary()); + }) + %> + + + + + + Sets the action, controller and route values for insert operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the action, controller and route values for insert operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Insert("Index", "Home", new { id = 1 }); + }) + %> + + + + + + Sets the action and controller for the select operation + + Name of the action. + Name of the controller. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Insert("Index", "Home"); + }) + %> + + + + + + Sets the route and values for insert operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the route and values for insert operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Insert("Default", new {id=1}); + }) + %> + + + + + + Sets the route name for insert operation + + Name of the route. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Insert("Default"); + }) + %> + + + + + + Sets the action, controller and route values for insert operation + + The type of the controller. + The action. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Insert<HomeController>(controller => controller.Index())); + }) + %> + + + + + + Sets the action, controller and route values for the update operation + + The route values of the Action method. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update(MVC.Home.Index(1).GetRouteValueDictionary()); + }) + %> + + + + + + Sets the action, controller and route values for update operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update(MVC.Home.Index(1).GetRouteValueDictionary()); + }) + %> + + + + + + Sets the action, controller and route values for update operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update("Index", "Home", new { id = 1 }); + }) + %> + + + + + + Sets the action and controller for the select operation + + Name of the action. + Name of the controller. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update("Index", "Home"); + }) + %> + + + + + + Sets the route and values for update operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update("Default", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the route and values for update operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update("Default", new {id=1}); + }) + %> + + + + + + Sets the route name for update operation + + Name of the route. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update("Default"); + }) + %> + + + + + + Sets the action, controller and route values for update operation + + The type of the controller. + The action. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update<HomeController>(controller => controller.Index())); + }) + %> + + + + + + Sets the action, controller and route values for the delete operation + + The route values of the Action method. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete(MVC.Home.Index(1).GetRouteValueDictionary()); + }) + %> + + + + + + Sets the action, controller and route values for delete operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete("Index", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the action, controller and route values for delete operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete("Index", "Home", new { id = 1 }); + }) + %> + + + + + + Sets the action and controller for the select operation + + Name of the action. + Name of the controller. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete("Index", "Home"); + }) + %> + + + + + + Sets the route and values for delete operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete("Default", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the route and values for delete operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete("Default", new {id=1}); + }) + %> + + + + + + Sets the route name for delete operation + + Name of the route. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete("Default"); + }) + %> + + + + + + Sets the action, controller and route values for delete operation + + The type of the controller. + The action. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete<HomeController>(controller => controller.Index())); + }) + %> + + + + + + Gets or sets the operation mode of the grid. By default the grid will make a request to the + server when it needs data for paging, sorting, filtering or grouping. If you set the + operation mode to GridOperationMode.Client it will make only one request for all data. Any other + paging, sorting, filtering or grouping will be performed client-side. + + + + + Defines the fluent interface for configuring + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables keyboard navigation. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .KeyboardNavigation(setting => setting.Enabled((bool)ViewData["enableKeyBoardNavigation"])) + %> + + + + The Enabled method is useful when you need to enable keyboard navigation based on certain conditions. + + + + + Sets the button type. + + The button type. + + + + + Sets the HTML attributes. + + The HTML attributes. + + + + + Sets the HTML attributes. + + The HTML attributes. + + + + + Sets the image HTML attributes. + + The Image HTML attributes. + + + + + Sets the image HTML attributes. + + The Image HTML attributes. + + + + + + + + + + + + + + + + Simple wrapper used to trick the Grid's generic DataSource when custom binding is used + + + + + + Defines the fluent interface for configuring grid editing. + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables grid editing. + + + + <%= Html.Telerik().Grid<Order>() + .Name("Orders") + .Editable(settings => settings.Enabled(true)) + %> + + + + The Enabled method is useful when you need to enable grid editing on certain conditions. + + + + + Specify an editor template which to be used for InForm or PopUp modes + + name of the editor template + This settings is applicable only when Mode is + or + + + + Enables or disables delete confirmation. + + + + <%= Html.Telerik().Grid<Order>() + .Name("Orders") + .Editable(settings => settings.DisplayDeleteConfirmation(true)) + %> + + + + + + Gets the HTML attributes of the form rendered during editing + + The attributes. + + + + Gets the HTML attributes of the form rendered during editing + + The attributes. + + + + Defines the fluent interface for configuring template columns + + + + + Defines the fluent interface for configuring columns. + + + The type of the column builder. + + + + Initializes a new instance of the class. + + The column. + + + + Sets the title displayed in the header of the column. + + The text. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).Title("ID")) + %> + + + + + + Sets the HTML attributes applied to the header cell of the column. + + The attributes. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).HeaderHtmlAttributes(new {@class="order-header"})) + %> + + + + + + Sets the HTML attributes applied to the header cell of the column. + + The attributes. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).HeaderHtmlAttributes(new {@class="order-header"})) + %> + + + + + + Sets the HTML attributes applied to the footer cell of the column. + + The attributes. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).FooterHtmlAttributes(new {@class="order-footer"})) + %> + + + + + + Sets the HTML attributes applied to the footer cell of the column. + + The attributes. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).FooterHtmlAttributes(new {@class="order-footer"})) + %> + + + + + + Sets the HTML attributes applied to the content cell of the column. + + The attributes. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).HtmlAttributes(new {@class="order-cell"})) + %> + + + + + + Sets the HTML attributes applied to the content cell of the column. + + The attributes. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).HtmlAttributes(new {@class="order-cell"})) + %> + + + + + + Sets the width of the column in pixels. + + The width in pixels. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).Width(100)) + %> + + + + + + Sets the width of the column. + + The width to set. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => + { + %> + <%= Html.ActionLink("Edit", "Home", new { id = o.OrderID}) %> + <% + }) + .Render(); + %> + + + + + + Makes the column visible or not. By default all columns are visible. Invisible columns are not rendered in the output HTML. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).Visible((bool)ViewData["visible"])) + %> + + + + + + Makes the column hidden or not. By default all columns are not hidden. Hidden columns are rendered in the output HTML but are hidden. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).Hidden((bool)ViewData["hidden"])) + %> + + + + + + Hides a column. By default all columns are not hidden. Hidden columns are rendered in the output HTML but are hidden. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).Hidden()) + %> + + + + + + Sets the header template for the column. + + The action defining the template. + + + + Sets the header template for the column. + + The string defining the template. + + + + Sets the header template for the column. + + The action defining the template. + + + + Sets the footer template for the column. + + The action defining the template. + + + + Sets the footer template for the column. + + The string defining the template. + + + + Sets the footer template for the column. + + The action defining the template. + + + + Gets or sets the column. + + The column. + + + + Defines an interface that supports navigation. + + + + + Gets or sets the name of the route. + + The name of the route. + + + + Gets or sets the name of the controller. + + The name of the controller. + + + + Gets or sets the name of the action. + + The name of the action. + + + + Gets the route values. + + The route values. + + + + Gets or sets the URL. + + The URL. + + + + Determines if group header should be shown. + + true if visible, otherwise false. + + + + Gets or sets a value indicating whether member access expression used + by this builder should be lifted to null. The default value is true; + + + true if member access should be lifted to null; otherwise, false. + + + + Provided expression should have string type + + + ArgumentException. + + + ArgumentException. + + + + Provided 's is not + + + + Provided type is not + + + + Provided 's is not + + + + + Provided 's is not + + + + + + + + ArgumentException. + + + did not implement . + + + + Invalid name for property or field; or indexer with the specified arguments. + + + + InvalidOperationException. + + + InvalidCastException. + + + + Holds extension methods for . + + + + + Child element with name specified by does not exists. + + + + + Represents a filtering descriptor which serves as a container for one or more child filtering descriptors. + + + + + Base class for all used for + handling the logic for property changed notifications. + + + + + Represents a filtering abstraction that knows how to create predicate filtering expression. + + + + + Creates a predicate filter expression used for collection filtering. + + The instance expression, which will be used for filtering. + A predicate filter expression. + + + + Creates a filter expression by delegating its creation to + , if + is , otherwise throws + + The instance expression, which will be used for filtering. + A predicate filter expression. + Parameter should be of type + + + + Creates a predicate filter expression used for collection filtering. + + The parameter expression, which will be used for filtering. + A predicate filter expression. + + + + Creates a predicate filter expression combining + expressions with . + + The parameter expression, which will be used for filtering. + A predicate filter expression. + + + + Gets or sets the logical operator used for composing of . + + The logical operator used for composition. + + + + Gets or sets the filter descriptors that will be used for composition. + + The filter descriptors used for composition. + + + + Logical operator used for filter descriptor composition. + + + + + Combines filters with logical AND. + + + + + Combines filters with logical OR. + + + + + The class enables implementation of custom filtering logic. + + + + + The method checks whether the passed parameter satisfies filter criteria. + + + + + Creates a predicate filter expression that calls . + + The parameter expression, which parameter + will be passed to method. + + + + If false will not execute. + + + + + Represents declarative filtering. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The member. + The filter operator. + The filter value. + + + + Creates a predicate filter expression. + + The parameter expression, which will be used for filtering. + A predicate filter expression. + + + + Determines whether the specified descriptor + is equal to the current one. + + The other filter descriptor. + + True if all members of the current descriptor are + equal to the ones of , otherwise false. + + + + + Determines whether the specified + is equal to the current descriptor. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current filter descriptor. + + + + + Gets or sets the member name which will be used for filtering. + + The member that will be used for filtering. + + + + Gets or sets the type of the member that is used for filtering. + Set this property if the member type cannot be resolved automatically. + Such cases are: items with ICustomTypeDescriptor, XmlNode or DataRow. + Changing this property did not raise + event. + + The type of the member used for filtering. + + + + Gets or sets the filter operator. + + The filter operator. + + + + Gets or sets the target filter value. + + The filter value. + + + + Represents collection of . + + + + + Operator used in + + + + + Left operand must be smaller than the right one. + + + + + Left operand must be smaller than or equal to the right one. + + + + + Left operand must be equal to the right one. + + + + + Left operand must be different from the right one. + + + + + Left operand must be larger than the right one. + + + + + Left operand must be larger than or equal to the right one. + + + + + Left operand must start with the right one. + + + + + Left operand must end with the right one. + + + + + Left operand must contain the right one. + + + + + Left operand must be contained in the right one. + + + + InvalidOperationException. + + + + Gets the key for this group. + + The key for this group. + + + + Gets the items in this groups. + + The items in this group. + + + + Gets a value indicating whether this instance has sub groups. + + + true if this instance has sub groups; otherwise, false. + + + + + Gets the count. + + The count. + + + + Gets the subgroups, if is true, otherwise empty collection. + + The subgroups. + + + + Gets a value indicating whether this instance has any sub groups. + + + true if this instance has sub groups; otherwise, false. + + + + + Gets the number of items in this group. + + The items count. + + + + Gets the subgroups, if is true, otherwise empty collection. + + The subgroups. + + + + Gets the items in this groups. + + The items in this group. + + + + Gets the key for this group. + + The key for this group. + + + + Gets the aggregate results generated for the given aggregate functions. + + The aggregate results for the provided aggregate functions. + functions is null. + + + + Gets or sets the aggregate functions projection for this group. + This projection is used to generate aggregate functions results for this group. + + The aggregate functions projection. + + + + Creates the aggregate expression that is used for constructing expression + tree that will calculate the aggregate result. + + The grouping expression. + + + + + + Generates default name for this function using this type's name. + + + Function name generated with the following pattern: + {.}_{} + + + + + Gets or sets the informative message to display as an illustration of the aggregate function. + + The caption to display as an illustration of the aggregate function. + + + + Gets or sets the name of the field, of the item from the set of items, which value is used as the argument of the aggregate function. + + The name of the field to get the argument value from. + + + + Gets or sets the name of the aggregate function, which appears as a property of the group record on which records the function works. + + The name of the function as visible from the group record. + + + + Gets or sets a string that is used to format the result value. + + The format string. + + + + Represents a collection of items. + + + + + Gets the with the specified function name. + + + First with the specified function name + if any, otherwise null. + + + + + Initializes a new instance of the class. + + The value of the result. + The number of arguments used for the calculation of the result. + Function that generated the result. + function is null. + + + + Initializes a new instance of the class. + + that generated the result. + function is null. + + + + Initializes a new instance of the class. + + The value of the result. + that generated the result. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + Gets or sets the value of the result. + + The value of the result. + + + + Gets the formatted value of the result. + + The formatted value of the result. + + + + Gets or sets the number of arguments used for the calulation of the result. + + The number of arguments used for the calulation of the result. + + + + Gets or sets the text which serves as a caption for the result in a user interface.. + + The text which serves as a caption for the result in a user interface. + + + + Gets the name of the function. + + The name of the function. + + + + Gets the first which + is equal to . + + + The for the specified function if any, otherwise null. + + + + + Represents a function that returns the arithmetic mean of a set of arguments. + + + + + Represents an that uses aggregate extension + methods provided in using + as a member selector. + + + + + Base class for all aggregate functions that will use extension + methods in for aggregation. + + + + + Gets the type of the extension methods that holds the extension methods for + aggregation. For example or . + + + The type of that holds the extension methods. The default value is . + + + + + Creates the aggregate expression using . + + The grouping expression. + + + + + + Initializes a new instance of the class. + + + + + Gets the the Average method name. + + Average. + + + + Represents a function that returns the number of items in a set of items, including nested sets. + + + + + Represents an that uses aggregate extension + methods provided in . + + + + + Creates the aggregate expression using . + + The grouping expression. + + + + + + Initializes a new instance of the class. + + + + + Gets the the Count method name. + + Count. + + + + Gets the the First method name. + + First. + + + + Represents a function that returns the last item from a set of items. + + + + + Initializes a new instance of the class. + + + + + Gets the the Last method name. + + Last. + + + + Represents a function that returns the greatest item from a set of items. + + + + + Initializes a new instance of the class. + + + + + Gets the the Max method name. + + Max. + + + + Represents a function that returns the least item from a set of items. + + + + + Initializes a new instance of the class. + + + + + Gets the the Min method name. + + Min. + + + + Represents a function that returns the sum of all items from a set of items. + + + + + Initializes a new instance of the class. + + + + + Gets the the Min method name. + + Min. + + + + Represents grouping criteria. + + + + + Represents declarative sorting. + + + + + Gets or sets the member name which will be used for sorting. + + The member that will be used for sorting. + + + + Gets or sets the sort direction for this sort descriptor. If the value is null + no sorting will be applied. + + The sort direction. The default value is null. + + + + Changes the to the next logical value. + + + + + Gets or sets the type of the member that is used for grouping. + Set this property if the member type cannot be resolved automatically. + Such cases are: items with ICustomTypeDescriptor, XmlNode or DataRow. + Changing this property did not raise + event. + + The type of the member used for grouping. + + + + Gets or sets the content which will be used from UI. + + The content that will be used from UI. + + + + Gets or sets the aggregate functions used when grouping is executed. + + The aggregate functions that will be used in grouping. + + + + Calculates unique int for given group in a group sequence, + taking into account groups order, each group key and groups' count. + + + + Gets or sets the format for displaying the value in the tooltip. + The value. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .Tooltip(tooltip => tooltip.Format("{0:P")) + %> + + + + + Display tooltip while drag. + The value. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .Tooltip(tooltip => tooltip.Enable(false)) + %> + + + + + Defines the fluent interface for configuring the . + + + + Defines the inline handler of the OnChange client-side event + + The action defining the inline handler. + + + <% Html.Telerik().RangeSlider() + .Name("RangeSlider") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnChange client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().RangeSlider() + .Name("RangeSlider") + .ClientEvents(events => events.OnChange("onChange")) + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().RangeSlider() + .Name("RangeSlider") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().RangeSlider() + .Name("RangeSlider") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnSlide client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().RangeSlider() + .Name("RangeSlider") + .ClientEvents(events => events.OnSlide(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSlide client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().RangeSlider() + .Name("RangeSlider") + .ClientEvents(events => events.OnSlide("OnSlide")) + %> + + + + + Defines the fluent interface for configuring the . + + + + Defines the inline handler of the OnChange client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Slider() + .Name("Slider") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnChange client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .ClientEvents(events => events.OnChange("onChange")) + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Slider() + .Name("Slider") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnSlide client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Slider() + .Name("Slider") + .ClientEvents(events => events.OnSlide(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSlide client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .ClientEvents(events => events.OnSlide("OnSlide")) + %> + + + + + Defines the fluent interface for configuring the component. + + + Initializes a new instance of the class. + The component. + + + Sets the value of the range slider. + + + Sets the value of the range slider. + + + Sets orientation of the range slider. + + + Sets a value indicating how to display the tick marks on the range slider. + + + Sets the minimum value of the range slider. + + + Sets the maximum value of the range slider. + + + Sets the step with which the range slider value will change. + + + Sets the delta with which the value will change when user click on the track. + + + Display tooltip while drag. + + + + Use it to configure tooltip while drag. + + Use builder to set different tooltip options. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .Tooltip(tooltip => tooltip + .Enable(true) + .Format("{0:P}") + ); + %> + + + + + Configures the client-side events. + The client events action. + + + <%= Html.Telerik().RangeSlider() + .Name("RangeSlider") + .ClientEvents(events => + events.OnLoad("onLoad").OnChange("onChange")) + %> + + + + + Sets a value indicating whether the range slider can respond to user interaction. + + + Defines the fluent interface for configuring the component. + + + Initializes a new instance of the class. + The component. + + + Sets the value of the slider. + + + Sets the title of the slider increase button. + + + Sets whether slider to be rendered with increase/decrease button. + + + Sets the title of the slider decrease button. + + + Sets orientation of the slider. + + + Sets a value indicating how to display the tick marks on the slider. + + + Sets the minimum value of the slider. + + + Sets the maximum value of the slider. + + + Sets the step with which the slider value will change. + + + Sets the delta with which the value will change when user click on the slider. + + + Display tooltip while drag. + + + + Use it to configure tooltip. + + Use builder to set different tooltip options. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .Tooltip(tooltip => tooltip + .Enable(true) + .Format("{0:P}") + ); + %> + + + + + Configures the client-side events. + The client events action. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .ClientEvents(events => + events.OnLoad("onLoad").OnChange("onChange")) + %> + + + + + Sets a value indicating whether the slider can respond to user interaction. + + + Specifies the general layout of the slider. + + + The slider is oriented horizontally. + + + The slider is oriented vertically. + + + Specifies the location of tick marks in a component. + + + No tick marks appear in the component. + + + + Tick marks are located on the top of a horizontal component or on the + left of a vertical component. + + + + + Tick marks are located on the bottom of a horizontal component or on the + right side of a vertical component. + + + + Tick marks are located on both sides of the component. + + + + Sets the pane size. + + The desired size. Only sizes in pixels and percentages are allowed. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().Size("220px"); + }) + %> + + + + + + Sets the minimum pane size. + + The desired minimum size. Only sizes in pixels and percentages are allowed. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().MinSize("220px"); + }) + %> + + + + + + Sets the maximum pane size. + + The desired maximum size. Only sizes in pixels and percentages are allowed. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().MaxSize("220px"); + }) + %> + + + + + + Sets whether the pane shows a scrollbar when its content overflows. + + Whether the pane will be scrollable. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().Scrollable(false); + }) + %> + + + + + + Sets whether the pane can be resized by the user. + + Whether the pane will be resizable. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().Resizable(true); + }) + %> + + + + + + Sets whether the pane is initially collapsed. + + Whether the pane will be initially collapsed. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().Collapsed(true); + }) + %> + + + + + + Sets whether the pane can be collapsed by the user. + + Whether the pane can be collapsed by the user. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().Collapsible(true); + }) + %> + + + + + + Sets the HTML attributes applied to the outer HTML element rendered for the item + + The attributes. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().HtmlAttributes(new { style = "background: red" }); + }) + %> + + + + + + Sets the HTML attributes applied to the outer HTML element rendered for the item + + The attributes. + + + + Sets the HTML content of the pane. + + The action which renders the HTML content. + + <% Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add() + .Content(() => { >% + <p>Content</p> + %<}); + }) + .Render(); + %> + + + + + Sets the HTML content of the pane. + + The Razor template for the HTML content. + + @(Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add() + .Content(@<p>Content</p>); + }) + .Render();) + + + + + Sets the HTML content of the pane. + + The HTML content. + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add() + .Content("<p>Content</p>"); + }) + %> + + + + + Sets the Url which will be requested to return the pane content. + + The route values of the Action method. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => { + panes.Add() + .LoadContentFrom(MVC.Home.Index().GetRouteValueDictionary()); + }) + %> + + + + + + Sets the Url, which will be requested to return the pane content. + + The action name. + The controller name. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => { + panes.Add() + .LoadContentFrom("AjaxView_OpenSource", "Splitter"); + }) + %> + + + + + + Sets the Url, which will be requested to return the content. + + The action name. + The controller name. + Route values. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => { + panes.Add() + .LoadContentFrom("AjaxView_OpenSource", "Splitter", new { id = 10 }); + }) + %> + + + + + + Sets the Url, which will be requested to return the pane content. + + The url. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => { + panes.Add() + .LoadContentFrom(Url.Action("AjaxView_OpenSource", "Splitter")); + }) + %> + + + + + + Defines the fluent interface for configuring the . + + + + + The fluent interface that configures the . + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnResize client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnResize(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnResize client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnResize( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnResize client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnResize("onResize")) + %> + + + + + + Defines the inline handler of the OnExpand client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnExpand(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnExpand client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnExpand( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnExpand client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnExpand("onExpand")) + %> + + + + + + Defines the inline handler of the OnCollapse client-side event + The action defining the inline handler. + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnCollapse(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnCollapse client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnCollapse( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + - + - Sets the index of the positive pattern. + Defines the name of the JavaScript function that will handle the the OnCollapse client-side event. + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnCollapse("onCollapse")) + %> + + - + - Sets the currency symbol. + Defines the inline handler of the OnContentLoad client-side event + The action defining the inline handler. + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnContentLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + - - source is null. - - - ReSharper disable UnusedParameter.Local - - + - Executes the provided delegate for each item. + Defines the inline handler of the OnContentLoad client-side event - - The instance. - The action to be applied. - - - index is out of range. + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnContentLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + - - first is null. - second is null. - resultSelector is null. + + + Defines the name of the JavaScript function that will handle the the OnContentLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnContentLoad("onContentLoad")) + %> + + - + - Initializes a new instance of the class. + Specifies the orientation in which the splitter panes will be ordered - The source. - + - Sorts the elements of a sequence using the specified sort descriptors. + Panes are oredered horizontally - A sequence of values to sort. - The sort descriptors used for sorting. - - An whose elements are sorted according to a . - - + - Pages through the elements of a sequence until the specified - using . + Panes are oredered vertically - A sequence of values to page. - Index of the page. - Size of the page. - - An whose elements are at the specified . - - + - Projects each element of a sequence into a new form. + Sets the splitter orientation. - - An whose elements are the result of invoking a - projection selector on each element of . - - A sequence of values to project. - A projection function to apply to each element. + The desired orientation. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Orientation(SplitterOrientation.Vertical) + %> + + - + - Groups the elements of a sequence according to a specified key selector function. + Defines the panes in the splitter. - An whose elements to group. - A function to extract the key for each element. - - An with items, - whose elements contains a sequence of objects and a key. - + The action that configures the panes. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => { + panes.Add().LoadContentFrom("Navigation", "Shared"); + panes.Add().LoadContentFrom("Index", "Home"); + }) + %> + + - + - Sorts the elements of a sequence in ascending order according to a key. + Configures the client events for the splitter. - - An whose elements are sorted according to a key. - - - A sequence of values to order. - - - A function to extract a key from an element. - + The action that configures the client events. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events + .OnLoad("onLoad") + ) + %> + + - + - Sorts the elements of a sequence in descending order according to a key. + Defines properties for a content pane. - - An whose elements are sorted in descending order according to a key. - - - A sequence of values to order. - - - A function to extract a key from an element. - - + - Calls - or depending on the . + Defines whether one navigation item can have content loaded asynchroniously. - The source. - The key selector. - The sort direction. - - An whose elements are sorted according to a key. - - + - Groups the elements of a sequence according to a specified . + Url, which will be used as a destination for the Ajax request. - An whose elements to group. - The group descriptors used for grouping. - - An with items, - whose elements contains a sequence of objects and a key. - - + - Calculates the results of given aggregates functions on a sequence of elements. + Specifies the size of the pane - An whose elements will - be used for aggregate calculation. - The aggregate functions. - Collection of s calculated for each function. - - - Filters a sequence of values based on a predicate. + + + Specifies the minimum size of the pane - - An that contains elements from the input sequence - that satisfy the condition specified by . - - An to filter. - A function to test each element for a condition. - - - Filters a sequence of values based on a collection of . + + + Specifies the maximum size of the pane - The source. - The filter descriptors. - - An that contains elements from the input sequence - that satisfy the conditions specified by each filter descriptor in . - - + - Returns a specified number of contiguous elements from the start of a sequence. + Specifies whether the pane is initially collapsed - - An that contains the specified number - of elements from the start of . - - The sequence to return elements from. - The number of elements to return. - is null. - + - Bypasses a specified number of elements in a sequence - and then returns the remaining elements. + Specifies whether the pane can be collapsed by the user - - An that contains elements that occur - after the specified index in the input sequence. - - - An to return elements from. - - - The number of elements to skip before returning the remaining elements. - - is null. - - Returns the number of elements in a sequence. - The number of elements in the input sequence. - - The that contains the elements to be counted. - - is null. - - - Returns the element at a specified index in a sequence. - The element at the specified position in . - An to return an element from. - The zero-based index of the element to retrieve. - is null. - is less than zero. + + + Specifies whether the pane can be resized by the user + - + - Creates a from an where T is . + Specifies whether the pane shows a scrollbar when its content overflows - - A that contains elements from the input sequence. - - - The to create a from. - - - is null. - - + - Represents an attribute that is used to populate in view data. + Specifies URL from which to load the pane content - + - Initializes a new instance of the class. + Specifies HTML attributes for the pane - The site maps. - + - Initializes a new instance of the class. + Specifies the pane contents - + - Called before an action result executes. + Gets the id. - The filter context. + The id. - + - Called after an action result executes. + Defines the fluent interface for configuring the component. - The filter context. - + - Gets or sets the default view data key. + Defines the fluent interface for configuring the component. - The default view data key. - + - Gets or sets the name of the site map. + Initializes a new instance of the class. - The name of the site map. + The component. - + - Gets or sets the view data key. + Sets the initial value of the textbox. - The view data key. - + - Gets or sets the site maps. + Sets the step, used ti increment/decrement the value of the textbox. - The site maps. - + - Defines a base class that represents site map. + Sets the minimal possible value allowed to the user. - + - Initializes a new instance of the class. + Sets the maximal possible value allowed to the user. - + - Performs an implicit conversion from to . + Sets the group size of the number. - The site map. - The result of the conversion. - + - Returns a new builder. + Sets the group separator of the number. - - + - Resets this instance. + Sets the index of the negative pattern. - + - Gets or sets the default cache duration in minutes. + Sets the text which will be displayed if the textbox is empty. - The default cache duration in minutes. - + - Gets or sets a value indicating whether [default compress]. + Enables or disables the spin buttons. - true if [default compress]; otherwise, false. + + - + - Gets or sets a value indicating whether [default generate search engine map]. + Define the tooltip text of the up button. - - true if [default generate search engine map]; otherwise, false. - - + - Gets or sets the root node. + Define the tooltip text of the down button. - The root node. - + - Gets or sets the cache duration in minutes. + Configures the client-side events. - The cache duration in minutes. + The client events action. + + + <%= Html.Telerik().NumericTextBox() + .Name("NumericTextBox") + .ClientEvents(events => + events.OnLoad("onLoad").OnChange("onChange") + ) + %> + + - + - Gets or sets a value indicating whether this is compress. + Sets the Input HTML attributes. - true if compress; otherwise, false. + The HTML attributes. - + - Gets or sets a value indicating whether [generate search engine map]. + Sets the Input HTML attributes. - - true if [generate search engine map]; otherwise, false. - + The HTML attributes. - + - The builder to fluently configuring . + Enables or disables the textbox. + + - + + - Initializes a new instance of the class. + Defines the fluent interface for configuring the component. - The site map. - + + - Performs an implicit conversion from to . + Defines the number of the decimal digits. - The builder. - The result of the conversion. - + - Returns the internal sitemap. + Sets the decimal separator. - - + - Caches the duration in minutes. + Sets the index of the positive pattern. - The value. - - + - Compresses the specified value. + Sets the percent symbol. - if set to true [value]. - - + - Generates the search engine map. + Defines the fluent interface for configuring the component. - if set to true [value]. - - + + - Gets the root node. + Defines the number of the decimal digits. - The root node. - + - Sitemap change frequency + Sets the decimal separator. - + - Automatic + Sets the index of the positive pattern. - + - Daily + Sets the currency symbol. - + + source is null. + + + ReSharper disable UnusedParameter.Local + + - Always + Executes the provided delegate for each item. + + The instance. + The action to be applied. - + + index is out of range. + + + first is null. + second is null. + resultSelector is null. + + - Hourly + Initializes a new instance of the class. + The source. - + - Weekly + Sorts the elements of a sequence using the specified sort descriptors. + A sequence of values to sort. + The sort descriptors used for sorting. + + An whose elements are sorted according to a . + - + - Monthly + Pages through the elements of a sequence until the specified + using . + A sequence of values to page. + Index of the page. + Size of the page. + + An whose elements are at the specified . + - + - Yearly + Projects each element of a sequence into a new form. + + An whose elements are the result of invoking a + projection selector on each element of . + + A sequence of values to project. + A projection function to apply to each element. - + - Never + Groups the elements of a sequence according to a specified key selector function. + An whose elements to group. + A function to extract the key for each element. + + An with items, + whose elements contains a sequence of objects and a key. + - + - Defines a class that is used to store against a key. + Sorts the elements of a sequence in ascending order according to a key. + + An whose elements are sorted according to a key. + + + A sequence of values to order. + + + A function to extract a key from an element. + - + - Registers the specified name. + Sorts the elements of a sequence in descending order according to a key. - The type of the site map. - The name. - The configure. - + + An whose elements are sorted in descending order according to a key. + + + A sequence of values to order. + + + A function to extract a key from an element. + - + - Adds an item to the . + Calls + or depending on the . - The object to add to the . - - The is read-only. - + The source. + The key selector. + The sort direction. + + An whose elements are sorted according to a key. + - + - Adds an element with the provided key and value to the . + Groups the elements of a sequence according to a specified . - The object to use as the key of the element to add. - The object to use as the value of the element to add. - - is null. - - - An element with the same key already exists in the . - - - The is read-only. - + An whose elements to group. + The group descriptors used for grouping. + + An with items, + whose elements contains a sequence of objects and a key. + - + - Removes all items from the . + Calculates the results of given aggregates functions on a sequence of elements. - - The is read-only. - + An whose elements will + be used for aggregate calculation. + The aggregate functions. + Collection of s calculated for each function. - - - Determines whether the contains a specific value. + + + Filters a sequence of values based on a predicate. - The object to locate in the . - true if is found in the ; otherwise, false. + An that contains elements from the input sequence + that satisfy the condition specified by . + An to filter. + A function to test each element for a condition. - - - Determines whether the contains an element with the specified key. + + + Filters a sequence of values based on a collection of . - The key to locate in the . + The source. + The filter descriptors. - true if the contains an element with the key; otherwise, false. + An that contains elements from the input sequence + that satisfy the conditions specified by each filter descriptor in . - - is null. - - + - Copies the elements of the to an , starting at a particular index. + Returns a specified number of contiguous elements from the start of a sequence. - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - is null. - - - is less than 0. - - - is multidimensional. - -or- - is equal to or greater than the length of . - -or- - The number of elements in the source is greater than the available space from to the end of the destination . - -or- - Type cannot be cast automatically to the type of the destination - + + An that contains the specified number + of elements from the start of . + + The sequence to return elements from. + The number of elements to return. + is null. - + - Returns an enumerator that iterates through the collection. + Bypasses a specified number of elements in a sequence + and then returns the remaining elements. - A that can be used to iterate through the collection. + An that contains elements that occur + after the specified index in the input sequence. + + An to return elements from. + + + The number of elements to skip before returning the remaining elements. + + is null. - + + Returns the number of elements in a sequence. + The number of elements in the input sequence. + + The that contains the elements to be counted. + + is null. + + + Returns the element at a specified index in a sequence. + The element at the specified position in . + An to return an element from. + The zero-based index of the element to retrieve. + is null. + is less than zero. + + - Removes the first occurrence of a specific object from the . + Creates a from an where T is . - The object to remove from the . - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + A that contains elements from the input sequence. - - The is read-only. + + The to create a from. + + + is null. - + - Removes the element with the specified key from the . + Represents an attribute that is used to populate in view data. - The key of the element to remove. - - true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the original . - - - is null. - - - The is read-only. - - + - Gets the value associated with the specified key. + Initializes a new instance of the class. - The key whose value to get. - When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized. - - true if the object that implements contains an element with the specified key; otherwise, false. - - - is null. - + The site maps. - + + + Initializes a new instance of the class. + + + + + Called before an action result executes. + + The filter context. + + - Returns an enumerator that iterates through a collection. + Called after an action result executes. - - An object that can be used to iterate through the collection. - + The filter context. - + - Gets or sets the default site map factory. + Gets or sets the default view data key. - The default site map factory. + The default view data key. - + - Gets or sets the default site map. + Gets or sets the name of the site map. - The default site map. + The name of the site map. - + - Gets the number of elements contained in the . + Gets or sets the view data key. - - - The number of elements contained in the . - + The view data key. - + - Gets a value indicating whether the is read-only. + Gets or sets the site maps. - - true if the is read-only; otherwise, false. - + The site maps. - + - Gets an containing the keys of the . + Defines a base class that represents site map. - - - An containing the keys of the object that implements . - - + - Gets an containing the values in the . + Initializes a new instance of the class. - - - An containing the values in the object that implements . - - + - Gets or sets the with the specified key. + Performs an implicit conversion from to . - + The site map. + The result of the conversion. - + - Defines a class that is used to generate searach engine sitemap xml. + Returns a new builder. + - + - Provides a common base set of functionality for IHttpHandler implementations. + Resets this instance. - + - Enables processing of HTTP Web requests by a custom HttpHandler that implements the interface. + Gets or sets the default cache duration in minutes. - An object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests. + The default cache duration in minutes. - + - Processes the request. + Gets or sets a value indicating whether [default compress]. - The context. + true if [default compress]; otherwise, false. - + - Gets a value indicating whether another request can use the instance. + Gets or sets a value indicating whether [default generate search engine map]. - - true if the instance is reusable; otherwise, false. + + true if [default generate search engine map]; otherwise, false. + - + - Initializes a new instance of the class. + Gets or sets the root node. - The site maps. - The HTTP response compressor. - The HTTP response cacher. - The URL generator. + The root node. - + - Initializes a new instance of the class. + Gets or sets the cache duration in minutes. + The cache duration in minutes. - + - Processes the request. + Gets or sets a value indicating whether this is compress. - The context. + true if compress; otherwise, false. - + - Gets or sets the default path. + Gets or sets a value indicating whether [generate search engine map]. - The default path. + + true if [generate search engine map]; otherwise, false. + - + - Defines a class that is used to store global sitemaps. + The builder to fluently configuring . - + - Gets the site maps. + Initializes a new instance of the class. - The site maps. + The site map. - + - Defines a class that is used to store single url. + Performs an implicit conversion from to . + The builder. + The result of the conversion. - + - Serves as the base class for classes that provides linked object information. + Returns the internal sitemap. + - + - Gets or sets the T object that is the parent of the current node. + Caches the duration in minutes. - The parent. + The value. + - + - Gets the previous T object on the same level as the current one, relative to the T.ParentNode object (if one exists). + Compresses the specified value. - The previous sibling. + if set to true [value]. + - + - Gets the next T node on the same hierarchical level as the current one, relative to the T.ParentNode property (if one exists). + Generates the search engine map. - The next sibling. + if set to true [value]. + - + - Initializes a new instance of the class. + Gets the root node. + The root node. - + - Performs an implicit conversion from to . + Sitemap change frequency - The node. - The result of the conversion. - + - Gets or sets the title. + Automatic - The title. - + - Gets or sets a value indicating whether this is visible. + Daily - true if visible; otherwise, false. - + - Gets or sets the last modified at. + Always - The last modified at. - + - Gets or sets the name of the route. + Hourly - The name of the route. - + - Gets or sets the name of the controller. + Weekly - The name of the controller. - + - Gets or sets the name of the action. + Monthly - The name of the action. - + - Gets or sets the route values. + Yearly - The route values. - + - Gets or sets the URL. + Never - The URL. - + - Gets or sets the change frequency. + Defines a class that is used to store against a key. - The change frequency. - + - Gets or sets the update priority. + Registers the specified name. - The update priority. + The type of the site map. + The name. + The configure. + - + - Gets or sets a value indicating whether [include in search engine index]. + Adds an item to the . - - true if [include in search engine index]; otherwise, false. - + The object to add to the . + + The is read-only. + - + - Gets or sets the attributes. + Adds an element with the provided key and value to the . - The attributes. + The object to use as the key of the element to add. + The object to use as the value of the element to add. + + is null. + + + An element with the same key already exists in the . + + + The is read-only. + - + - Gets or sets the child nodes. + Removes all items from the . - The child nodes. + + The is read-only. + - + - Builder class for fluently configuring . + Determines whether the contains a specific value. + The object to locate in the . + + true if is found in the ; otherwise, false. + - + - Initializes a new instance of the class. + Determines whether the contains an element with the specified key. - The site map node. + The key to locate in the . + + true if the contains an element with the key; otherwise, false. + + + is null. + - + - Performs an implicit conversion from to . + Copies the elements of the to an , starting at a particular index. - The builder. - The result of the conversion. + The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. + The zero-based index in at which copying begins. + + is null. + + + is less than 0. + + + is multidimensional. + -or- + is equal to or greater than the length of . + -or- + The number of elements in the source is greater than the available space from to the end of the destination . + -or- + Type cannot be cast automatically to the type of the destination + - + - Returns the internal node. + Returns an enumerator that iterates through the collection. - + + A that can be used to iterate through the collection. + - + - Sets the title. + Removes the first occurrence of a specific object from the . - The value. - + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + + The is read-only. + - + - Sets the visibility. + Removes the element with the specified key from the . - if set to true [value]. - + The key of the element to remove. + + true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the original . + + + is null. + + + The is read-only. + - + - Sets the Lasts the modified date.. + Gets the value associated with the specified key. - The value. - + The key whose value to get. + When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized. + + true if the object that implements contains an element with the specified key; otherwise, false. + + + is null. + - + - Sets the route. + Returns an enumerator that iterates through a collection. - Name of the route. - The route values. - + + An object that can be used to iterate through the collection. + - + - Sets the route. + Gets or sets the default site map factory. - Name of the route. - The route values. - + The default site map factory. - + - Sets the route. + Gets or sets the default site map. - Name of the route. - + The default site map. - + - Sets the action to which the date should navigate + Gets the number of elements contained in the . - The route values of the Action method. + + + The number of elements contained in the . + - + - Sets the action, controller and route values. + Gets a value indicating whether the is read-only. - Name of the action. - Name of the controller. - The route values. - + + true if the is read-only; otherwise, false. + - + - Sets the action, controller and route values. + Gets an containing the keys of the . - Name of the action. - Name of the controller. - The route values. - + + + An containing the keys of the object that implements . + - + - Sets the action and controller. + Gets an containing the values in the . - Name of the action. - Name of the controller. - + + + An containing the values in the object that implements . + - + - Expression based controllerAction. + Gets or sets the with the specified key. - The type of the controller. - The action. - + - + - Sets the url. + Defines a class that is used to generate searach engine sitemap xml. - The value. - - + - Sets the change frequency. + Provides a common base set of functionality for IHttpHandler implementations. - The value. - - + - Sets the update priority. + Enables processing of HTTP Web requests by a custom HttpHandler that implements the interface. - The value. - + An object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests. - + - Marks an item that it would be included in the search engine index. + Processes the request. - if set to true [value]. - + The context. - + - Sets the attributes + Gets a value indicating whether another request can use the instance. - The value. - + + true if the instance is reusable; otherwise, false. - + - Sets the attributes + Initializes a new instance of the class. - The value. - + The site maps. + The HTTP response compressor. + The HTTP response cacher. + The URL generator. - + - Executes the provided delegate to configure the child node. + Initializes a new instance of the class. - The add actions. - - + - Defines a factory that is used to create . + Processes the request. + The context. - + - Initializes a new instance of the class. + Gets or sets the default path. - The parent. + The default path. - + - Adds this instance. + Defines a class that is used to store global sitemaps. - - + - Sitemap update priority. + Gets the site maps. + The site maps. - + - Automatic + Defines a class that is used to store single url. - + - Low + Serves as the base class for classes that provides linked object information. - + - Normal + Gets or sets the T object that is the parent of the current node. + The parent. - + - High + Gets the previous T object on the same level as the current one, relative to the T.ParentNode object (if one exists). + The previous sibling. - + - Critical + Gets the next T node on the same hierarchical level as the current one, relative to the T.ParentNode property (if one exists). + The next sibling. - + - Xml file based sitemap. + Initializes a new instance of the class. - + - Initializes a new instance of the class. + Performs an implicit conversion from to . + The node. + The result of the conversion. - + - Loads from the default path. + Gets or sets the title. + The title. - + - Loads from the specified path. + Gets or sets a value indicating whether this is visible. - The relative virtual path. + true if visible; otherwise, false. - + - Gets or sets the default path. + Gets or sets the last modified at. - The default path. + The last modified at. - + - Defines the fluent interface for configuring the . + Gets or sets the name of the route. + The name of the route. - + - Initializes a new instance of the class. + Gets or sets the name of the controller. - The component. + The name of the controller. - + - Sets selected date. + Gets or sets the name of the action. - DateTime object represents the selected date. + The name of the action. - + - Sets selected date. + Gets or sets the route values. - Date passed as string. + The route values. - + - Sets the smallest possible date, which user can choose. + Gets or sets the URL. + The URL. - + - Sets the smallest possible date, which user can choose. + Gets or sets the change frequency. + The change frequency. - + - Sets the biggest possible date, which user can choose. + Gets or sets the update priority. + The update priority. - + - Sets the smallest possible date, which user can choose. + Gets or sets a value indicating whether [include in search engine index]. + + true if [include in search engine index]; otherwise, false. + - + - Configures the client-side events. + Gets or sets the attributes. - The client events action. - - - <%= Html.Telerik().Calendar() - .Name("Calendar") - .ClientEvents(events => - events.OnLoad("onLoad") - ) - %> - - + The attributes. - + - Configures the selection settings of the calendar. + Gets or sets the child nodes. - SelectAction settings, which includes Action name and IEnumerable of DateTime objects. - + The child nodes. - + - Defines fluent interface for configuring calendar client events. + Builder class for fluently configuring . - + - Initializes a new instance of the class. + Initializes a new instance of the class. - Client events of the calendar. - The context of the View. + The site map node. - + - Defines the inline handler of the OnSelect client-side event + Performs an implicit conversion from to . - The action defining the inline handler. - - - <% Html.Telerik().Calendar() - .Name("Calendar") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - + The builder. + The result of the conversion. - + - Defines the inline handler of the OnSelect client-side event + Returns the internal node. - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Calendar() - .Name("Calendar") - .ClientEvents(events => events.OnChange( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - + - + - Defines the name of the JavaScript function that will handle the OnDateSelect client-side event. + Sets the title. - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Calendar() - .Name("Calendar") - .ClientEvents(events => events.OnChange("onChange")) - %> - - + The value. + - + - Defines the inline handler of the OnLoad client-side event + Sets the visibility. - The action defining the inline handler. - - - <% Html.Telerik().Calendar() - .Name("Calendar") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - + if set to true [value]. + - + - Defines the inline handler of the OnLoad client-side event + Sets the Lasts the modified date.. - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Calendar() - .Name("Calendar") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - + The value. + - + - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + Sets the route. - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - + Name of the route. + The route values. + - + - Contains constants for CSS class names, used across all UI extensions + Sets the route. + Name of the route. + The route values. + - + - Next navigation link + Sets the route. + Name of the route. + - + - Previous navigavtion link + Sets the action to which the date should navigate + The route values of the Action method. - + - Previous navigavtion link + Sets the action, controller and route values. + Name of the action. + Name of the controller. + The route values. + - + - Defines the fluent interface for configuring the . + Sets the action, controller and route values. + Name of the action. + Name of the controller. + The route values. + - + - Initializes a new instance of the class. + Sets the action and controller. - The selection settings. - The view context. + Name of the action. + Name of the controller. + - + - Defines list of dates. This list determines which dates to be rendered with action link. + Expression based controllerAction. - List of objects + The type of the controller. + The action. + - + - Sets the action to which the date should navigate + Sets the url. - The route values of the Action method. + The value. + - + - Sets the action to which the date should navigate + Sets the change frequency. - Name of the action. - The route values. + The value. + - + - Sets the action to which the item should navigate + Sets the update priority. - Name of the action. - Name of the controller. - The route values. + The value. + - + - Defines the fluent interface for configuring delete action command. + Marks an item that it would be included in the search engine index. - + if set to true [value]. + - + - Defines the fluent interface for configuring command. + Sets the attributes - The type of the model - The type of the command. - The type of the builder. + The value. + - + - Initializes a new instance of the class. + Sets the attributes - The column. + The value. + - + - Sets the button type. + Executes the provided delegate to configure the child node. - The button type. + The add actions. - + - Sets the HTML attributes. + Defines a factory that is used to create . - The HTML attributes. - - + - Sets the HTML attributes. + Initializes a new instance of the class. - The HTML attributes. - + The parent. - + - Sets the image HTML attributes. + Adds this instance. - The Image HTML attributes. - + - Sets the image HTML attributes. + Sitemap update priority. - The Image HTML attributes. - - + - Initializes a new instance of the class. + Automatic - The command. - + - Represents a column in the component + Low - The type of the data item - + - Gets or sets the grid. + Normal - The grid. - + - Gets the member of the column. + High - The member. - + - Gets the template of the column. + Critical - + - Gets the header template of the column. + Xml file based sitemap. - + - Gets the footer template of the column. + Initializes a new instance of the class. - + - Gets or sets the title of the column. + Loads from the default path. - The title. - + - Gets or sets the width of the column. + Loads from the specified path. - The width. + The relative virtual path. - + - Gets or sets a value indicating whether this column is hidden. + Gets or sets the default path. - true if hidden; otherwise, false. - - Hidden columns are output as HTML but are not visible by the end-user. - + The default path. - + - Gets the header HTML attributes. + Defines the fluent interface for configuring the . - The header HTML attributes. - + - Gets the footer HTML attributes. + Initializes a new instance of the class. - The footer HTML attributes. + The component. - + - Gets or sets a value indicating whether this column is visible. + Sets selected date. - true if visible; otherwise, false. The default value is true. - - Invisible columns are not output in the HTML. - + DateTime object represents the selected date. - + - Gets the HTML attributes of the cell rendered for the column + Sets selected date. - The HTML attributes. + Date passed as string. - + - Defines the fluent interface for configuring the edit action command. + Sets the smallest possible date, which user can choose. - - + - Initializes a new instance of the class. + Sets the smallest possible date, which user can choose. - The command. - + - Defines the fluent interface for building + Sets the biggest possible date, which user can choose. - + - Initializes a new instance of the class. + Sets the smallest possible date, which user can choose. - The settings. - + - Enables or disables binding. + Configures the client-side events. + The client events action. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home").Enabled((bool)ViewData["ajax"]); - }) + <%= Html.Telerik().Calendar() + .Name("Calendar") + .ClientEvents(events => + events.OnLoad("onLoad") + ) %> - - The Enabled method is useful when you need to enable binding based on certain conditions. - - + - Sets the action, controller and route values for the select operation + Configures the selection settings of the calendar. - The route values of the Action method. + SelectAction settings, which includes Action name and IEnumerable of DateTime objects. + + + + + Defines fluent interface for configuring calendar client events. + + + + + Initializes a new instance of the class. + + Client events of the calendar. + The context of the View. + + + + Defines the inline handler of the OnSelect client-side event + + The action defining the inline handler. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select(MVC.Home.Index().GetRouteValueDictionary()); - }) + <% Html.Telerik().Calendar() + .Name("Calendar") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); %> - + - Sets the action, controller and route values for the select operation + Defines the inline handler of the OnSelect client-side event - Name of the action. - Name of the controller. - The route values. + The handler code wrapped in a text tag (Razor syntax). - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home", new RouteValueDictionary{ {"id", 1} }); - }) + <% Html.Telerik().Calendar() + .Name("Calendar") + .ClientEvents(events => events.OnChange( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); %> - + - Sets the action, controller and route values for the select operation + Defines the name of the JavaScript function that will handle the OnDateSelect client-side event. - Name of the action. - Name of the controller. - The route values. + The name of the JavaScript function that will handle the event. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home", new { id = 1 }); - }) + <%= Html.Telerik().Calendar() + .Name("Calendar") + .ClientEvents(events => events.OnChange("onChange")) %> - + - Sets the action and controller for the select operation + Defines the inline handler of the OnLoad client-side event - Name of the action. - Name of the controller. + The action defining the inline handler. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home"); - }) + <% Html.Telerik().Calendar() + .Name("Calendar") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); %> - + - Sets the route and values for the select operation + Defines the inline handler of the OnLoad client-side event - Name of the route. - The route values. + The handler code wrapped in a text tag (Razor syntax). - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"id", 1} }); - }) + <% Html.Telerik().Calendar() + .Name("Calendar") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); %> - + - Sets the route and values for the select operation + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - Name of the route. - The route values. + The name of the JavaScript function that will handle the event. - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default", new {id=1}); - }) + <%= Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnLoad("onLoad")) %> - + - Sets the route name for the select operation + Contains constants for CSS class names, used across all UI extensions - Name of the route. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default"); - }) - %> - - - + - Sets the action, controller and route values for the select operation + Next navigation link - The type of the controller. - The action. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select<HomeController>(controller => controller.Index())); - }) - %> - - - + - Sets the action, controller and route values for the insert operation + Previous navigavtion link + + + + + Previous navigavtion link + + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The selection settings. + The view context. + + + + Defines list of dates. This list determines which dates to be rendered with action link. + + List of objects + + + + Sets the action to which the date should navigate The route values of the Action method. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Insert(MVC.Home.Index(1).GetRouteValueDictionary()); - }) - %> - - - + - Sets the action, controller and route values for insert operation + Sets the action to which the date should navigate - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - + Name of the action. + The route values. - + - Sets the action, controller and route values for insert operation + Sets the action to which the item should navigate - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Insert("Index", "Home", new { id = 1 }); - }) - %> - - + Name of the action. + Name of the controller. + The route values. - + - Sets the action and controller for the select operation + Defines the fluent interface for configuring delete action command. - Name of the action. - Name of the controller. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Insert("Index", "Home"); - }) - %> - - + - + - Sets the route and values for insert operation + Defines the fluent interface for configuring command. - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - + The type of the model + The type of the command. + The type of the builder. + + + + Initializes a new instance of the class. + + The column. - + - Sets the route and values for insert operation + Sets the button type. - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Insert("Default", new {id=1}); - }) - %> - - + The button type. + - + - Sets the route name for insert operation + Sets the HTML attributes. - Name of the route. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Insert("Default"); - }) - %> - - + The HTML attributes. + - + - Sets the action, controller and route values for insert operation + Sets the HTML attributes. - The type of the controller. - The action. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Insert<HomeController>(controller => controller.Index())); - }) - %> - - + The HTML attributes. + - + - Sets the action, controller and route values for the update operation + Sets the image HTML attributes. - The route values of the Action method. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update(MVC.Home.Index(1).GetRouteValueDictionary()); - }) - %> - - + The Image HTML attributes. + - + - Sets the action, controller and route values for update operation + Sets the image HTML attributes. - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update(MVC.Home.Index(1).GetRouteValueDictionary()); - }) - %> - - + The Image HTML attributes. + - + - Sets the action, controller and route values for update operation + Initializes a new instance of the class. - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update("Index", "Home", new { id = 1 }); - }) - %> - - + The command. - + - Sets the action and controller for the select operation + Represents a column in the component - Name of the action. - Name of the controller. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update("Index", "Home"); - }) - %> - - + The type of the data item + + + + Gets or sets the grid. + + The grid. - + - Sets the route and values for update operation + Gets the member of the column. - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update("Default", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - + The member. - + - Sets the route and values for update operation + Gets the template of the column. - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update("Default", new {id=1}); - }) - %> - - - + - Sets the route name for update operation + Gets the header template of the column. - Name of the route. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update("Default"); - }) - %> - - - + - Sets the action, controller and route values for update operation + Gets the footer template of the column. - The type of the controller. - The action. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update<HomeController>(controller => controller.Index())); - }) - %> - - - + - Sets the action, controller and route values for the delete operation + Gets or sets the title of the column. - The route values of the Action method. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete(MVC.Home.Index(1).GetRouteValueDictionary()); - }) - %> - - + The title. - + - Sets the action, controller and route values for delete operation + Gets or sets the width of the column. - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete("Index", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - + The width. - + - Sets the action, controller and route values for delete operation + Gets or sets a value indicating whether this column is hidden. - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete("Index", "Home", new { id = 1 }); - }) - %> - - + true if hidden; otherwise, false. + + Hidden columns are output as HTML but are not visible by the end-user. + + + + + Gets the header HTML attributes. + + The header HTML attributes. - + - Sets the action and controller for the select operation + Gets the footer HTML attributes. - Name of the action. - Name of the controller. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete("Index", "Home"); - }) - %> - - + The footer HTML attributes. - + - Sets the route and values for delete operation + Gets or sets a value indicating whether this column is visible. - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete("Default", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - + true if visible; otherwise, false. The default value is true. + + Invisible columns are not output in the HTML. + - + - Sets the route and values for delete operation + Gets the HTML attributes of the cell rendered for the column - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete("Default", new {id=1}); - }) - %> - - + The HTML attributes. - + - Sets the route name for delete operation + Defines the fluent interface for configuring the edit action command. - Name of the route. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete("Default"); - }) - %> - - + - + - Sets the action, controller and route values for delete operation + Initializes a new instance of the class. - The type of the controller. - The action. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete<HomeController>(controller => controller.Index())); - }) - %> - - + The command. @@ -7544,6 +11310,14 @@ + + + Gets or sets the operation mode of the grid. By default the grid will make a request to the + server when it needs data for paging, sorting, filtering or grouping. If you set the + operation mode to GridOperationMode.Client it will make only one request for all data. Any other + paging, sorting, filtering or grouping will be performed client-side. + + Defines which objects can have child items. @@ -11476,18 +15250,7 @@ The user can sort by more than one column at the same time. - - - Telerik Grid for ASP.NET MVC is a view component for presenting tabular data. - It supports the following features: - - Flexible databinding - server, ajax and web service - Paging, sorting and filtering - Light HTML and JavaScript footprint - - - The type of the data item which the grid is bound to. - + Initializes a new instance of the class. @@ -11502,6 +15265,11 @@ Gets the selection configuration + + + Gets the template which the grid will use to render a row + + Gets the client events of the grid. @@ -11528,6 +15296,11 @@ Gets the scrolling configuration. + + + Gets the keyboard navigation configuration. + + Gets the ajax configuration. @@ -11593,6 +15366,60 @@ The component. + + + Sets the row template of the grid + + The template + + + <%= Html.Telerik().Grid(Model) + .RowTemplate(o => + { + %> + <%= o.Name %> + <%= o.Age %> + <% + }) + %> + + + + + + Sets the row template of the grid + + The template + + + <%= Html.Telerik().Grid(Model) + .RowTemplate(o => + { + %> + <%= o.Name %> + <%= o.Age %> + <% + }) + %> + + + + + + Sets the row template of the grid using Razor syntax + + The template + + + <%= Html.Telerik().Grid(Model) + .RowTemplate(@<text> + @item.Name + @item.Age + </text>) + %> + + + Configures the grid resizing settings @@ -12056,6 +15883,51 @@ + + + Enables keyboard navigation. + + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + .BindTo((IEnumerable<Order>)ViewData["Orders"]) + .KeyboardNavigation(); + %> + + + + + + Enables keyboard navigation. + + Use builder to define keyboard navigation settings. + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + .BindTo((IEnumerable<Order>)ViewData["Orders"]) + .KeyboardNavigation(navigation => navigation.Enabled(true)); + %> + + + Configures the client-side events. @@ -12411,6 +16283,22 @@ The Enabled method is useful when you need to enable paging based on certain conditions. + + + Enables or disables paging on scroll. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Pageable(paging => paging.PageOnScroll((bool)ViewData["pageOnScroll"])) + %> + + + + The PageOnScroll method is useful when you need to enable paging on scroll based on certain conditions. + + Defines methods to manipulate generic link object collections. @@ -14437,21 +18325,11 @@ Contains CSS classes, used in the window - - - Window buttons class - - Window content area - - - Window icon - - Window title bar @@ -15981,11 +19859,66 @@ <%= Html.Telerik().Upload() - .Upload("Upload") + .Name("Upload") .Async(async => async .Save("ProcessAttachments", "Home") .Remove("RemoveAttachment", "Home") - ); + ) + %> + + + + + + Creates a + + + + <%= Html.Telerik().Chart() + .Name("Chart") + %> + + + + + + Creates a new bound to the specified data source. + + The type of the data item + The data source. + + + <%= Html.Telerik().Chart(Model) + .Name("Chart") + %> + + + + + + Creates a new bound an item in ViewData. + + Type of the data item + The data source view data key. + + + <%= Html.Telerik().Chart<SalesData>("sales") + .Name("Chart") + %> + + + + + + Creates a new unbound . + + + + <%= Html.Telerik().Chart("sales") + .Name("Chart") + .Series(series => { + series.Bar(new int[] { 1, 2, 3 }).Name("Total Sales"); + }) %> @@ -17771,6 +21704,11 @@ Looks up a localized string similar to Cannot use Ajax and WebService binding at the same time.. + + + Looks up a localized string similar to Cannot use PageOnScroll with Server binding.. + + Looks up a localized string similar to Cannot use only server templates in Ajax or WebService binding mode. Please specify a client template as well.. @@ -17850,6 +21788,11 @@ Looks up a localized string similar to InCell editing mode is not supported in server binding mode. + + + Looks up a localized string similar to InCell editing mode is not supported when ClientRowTemplate is used. + + Looks up a localized string similar to Provided index is out of range.. @@ -17910,6 +21853,11 @@ Looks up a localized string similar to Only property and field expressions are supported. + + + Looks up a localized string similar to Paging must be enabled to use PageOnScroll.. + + Looks up a localized string similar to The {0} must be begger then 0.. @@ -17930,6 +21878,11 @@ Looks up a localized string similar to The "{0}" class is no longer supported. To enable RTL support you must include telerik.rtl.css and apply the "t-rtl" class to a parent HTML element or the <body>.. + + + Looks up a localized string similar to Scrolling must be enabled to use PageOnScroll.. + + Looks up a localized string similar to You must have SiteMap defined with key "{0}" in ViewData dictionary.. @@ -18848,6 +22801,12 @@ The framework script file names. + + + Gets the validation script file names. + + The validation script file names. + Gets or sets a value indicating whether [exclude framework scripts]. @@ -18856,6 +22815,14 @@ true if [exclude framework scripts]; otherwise, false. + + + Gets or sets a value indicating whether [exclude validation scripts]. + + + true if [exclude validation scripts]; otherwise, false. + + Gets or sets the asset handler path. Path must be a virtual path. The default value is set to . @@ -18988,7 +22955,7 @@ Includes the jQuery script files. By default jQuery JavaScript is included. - Telerik Extensions for ASP.NET MVC require jQuery so make sure you manually include the JavaScrip file + Telerik Extensions for ASP.NET MVC require jQuery so make sure you manually include the JavaScript file if you disable the automatic including. if set to true [enable]. @@ -19000,6 +22967,22 @@ + + + Sets whether the jQuery validation script files will be registered. By default jQuery Validation JavaScript is included, if needed. + + + Telerik Extensions for ASP.NET MVC use jQuery validation + + if set to true [enable]. + + + <%= Html.Telerik().ScriptRegistrar() + .jQueryValidation(false) + %> + + + Executes the provided delegate that is used to register the script files fluently in different groups. diff --git a/NzbDrone.Web/Views/Shared/_Layout.cshtml b/NzbDrone.Web/Views/Shared/_Layout.cshtml index ddec906b4..bc9325ee7 100644 --- a/NzbDrone.Web/Views/Shared/_Layout.cshtml +++ b/NzbDrone.Web/Views/Shared/_Layout.cshtml @@ -5,8 +5,8 @@ NZBDrone - - + +