The requested page is not available for the requested platform. You are viewing the content for Default platform.

ToastBuilder.ID(String) Method

Specifies an HTML id for the widget's root element.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ToastBuilder ID(
    string id
)

Parameters

Name Type Description
id String

Returns

Type Description
ToastBuilder

Remarks

In Razor files, use the following notation to set the option's value:

@Html.DevExtreme().Toast().ID(...)
See Also