New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI GridNoRecordsSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class GridNoRecordsSettings<T> where T : class

Inheritance: objectGridNoRecordsSettings<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public GridNoRecordsSettings()

Properties

If set to true and current view contains no records, message similar to "No records available" will be displayed. By default this option is disabled.

C#
public bool? Enabled { get; set; }

Grid member.

C#
public Grid<T> Grid { get; set; }

The template which is rendered when current view contains no records.

C#
public string Template { get; set; }

The handler that returns the template used for Template

C#
public string TemplateHandler { get; set; }

The id of the script element used for Template

C#
public string TemplateId { get; set; }

Methods

Serialize method.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>