Provides a fluent interface for configuring notification templates.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class NotificationTemplateBuilder
Inheritance: objectNotificationTemplateBuilder
Inherited Members
Constructors
public NotificationTemplateBuilder(NotificationTemplateSettings templateSettings)
Methods
Sets the Kendo UI template to be used for the notifications.
public NotificationTemplateBuilder ClientTemplate(string value)
The content of the notification template.
Returns: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:Sets the Kendo UI template to be used for the notifications.
public NotificationTemplateBuilder ClientTemplateHandler(string template)
The name of the template handler function.
Returns:Sets the client ID of the notification template.
public NotificationTemplateBuilder ClientTemplateID(string value)
The id of the kendo template script.
Returns:Sets the Kendo UI template to be used for the notifications.
public NotificationTemplateBuilder ClientTemplateView(MvcHtmlString template)
The partial view representing the template.
Returns: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: