Save $100 with our Black Friday deals!

Get $100 OFF with promo code BLACKFRIDAY2024 at checkout until November 30.

See Pricing

Manage pages

Create a new empty page

  1. To add a new page, click on the + button next to the project name in the Explorer
  2. Select New Page… from the dropdown.
  3. In the new page dialog select the Empty page type and click Next Choose page type
  4. Enter page Name and configure the page.
    • Common configuration options:
      • Overwrite existing file - select whether to overwrite a file that already exist in the application. Changes made to this file will be lost.
      • Include in main navigation - select whether to add the page to the navigation UI of the application.
      • Use partial classes (.razor.cs) - decide if partial classes should be used to separate the code from the UI.
  5. Click Finish to create your new page

The page is added to the Pages directory.

Hint

Pages can be added to arbitrary locations. Right-click on the desired folder in the Explorer and select New Page … from the context menu.

Create a new CRUD page

  1. This time select the CRUD page type.
  2. Pick one or more entities you want to create CRUD pages for. Set other options if needed.
  3. Click Finish. Radzen Blazor Studio would generate three pages per entity - Read (list items in RadzenDataGrid), Edit and Add.

Change the name of the generated pages

By default Radzen Blazor Studio will use the entity name when creating the CRUD pages. For example for the Customer entity it would generate Customers.razor, AddCustomer.razor and EditCustomer.razor. You can click the gear icon next to a checked entity to change the name of the generated pages. Configure entity settings

Change lookup fields

Radzen Blazor Studio automatically creates lookups when it detects that an entity has relations with another entities. If the entity is created from a database table that has a foreign key to another table the first string column from the principal table will be used to display data instead of the foreign key value. You can change the lookup field from the settings dialog. Configure entity settings

Reveal in File Explorer / Finder

To explore pages with File Explorer (Windows) or Finder (macOS), right-click on the desired page and select Reveal in Explorer… (Windows) / Reveal in Finder… (macOS).

Delete a page

To delete a page:

  1. Right-click on the page in the Explorer and select Delete from the context menu.
  2. Confirm file delete

Choose page type