New to Telerik UI for BlazorStart a free 30-day trial

Popup Form Template

Updated on Aug 31, 2026

With the FormTemplate feature, you can customize the appearance and content of the create/edit Popup window of the Grid.

In this article:

Using the Popup Form Template

  1. Declare the desired custom content inside the <FormTemplate> inner tag of the <GridPopupEditFormSettings>. For example, TelerikForm or EditForm.
  2. The FormTemplate provides a context of type GridPopupEditFormTemplateContext. It contains a clone of the Grid data item in its Item property, and reveals if the user is adding a new item or editing an existing one through its IsNew boolean property. Cast context.Item to your model type, so you can pass it to the custom form.
  3. (optional) Use the Context attribute of the <FormTemplate> tag to set the name of the context variable.

Specifics

When using the template, the built-in popup form is replaced by the declared content in the FormTemplate tag. This introduces the following specifics:

Example

Using a FormTemplate to modify the Edit/Create Popup window.

Example
View Source
Loading ...

See Also