Defines the fluent interface for configuring a notification template.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class NotificationTemplateBuilder
Inheritance: objectNotificationTemplateBuilder
Inherited Members
Constructors
Initializes a new instance of the NotificationTemplateBuilder class.
public NotificationTemplateBuilder(NotificationTemplateSettings templateSettings)
The NotificationTemplateSettings object
Methods
Sets the Kendo UI template to be used for the notifications.
public NotificationTemplateBuilder ClientTemplate(string value)
The content of the notification template.
Returns:Returns the current instance of NotificationTemplateBuilder.
Sets the Kendo UI template to be used for the notifications.
public NotificationTemplateBuilder ClientTemplate<TModel>(TemplateBuilder<TModel> template)
The content defined using the Telerik UI Template component.
Returns:Returns the current instance of NotificationTemplateBuilder.
Sets the Kendo UI template to be used for the notifications.
public NotificationTemplateBuilder ClientTemplateHandler(string value)
The name of the template handler function.
Returns:Returns the current instance of NotificationTemplateBuilder.
Sets the client ID of the notification template.
public NotificationTemplateBuilder ClientTemplateID(string value)
The id of the kendo template script.
Returns:Returns the current instance of NotificationTemplateBuilder.
Sets the view template to be used for the notifications.
public NotificationTemplateBuilder ClientTemplateView(IHtmlContent value)
The partial view representing the template.
Returns:Returns the current instance of NotificationTemplateBuilder.
Sets the notification type (i.e. template name). The value should be a valid JavaScript identifier.
public NotificationTemplateBuilder Type(string value)
The type of the notification popup.
Returns:Returns the current instance of NotificationTemplateBuilder.