Select theme:
Radzen Blazor Studio has replaced Radzen as the primary RAD tool for Blazor applications.
Radzen Blazor Studio offers a modern UI, enhanced features, and improved performance to streamline your development process.
The latest documentation for Radzen Blazor Studio is available here: https://www.radzen.com/blazor-studio/documentation/
Open Radzen Blazor Studio docsThis guide demonstrates how to allow the user to create new data items in a Radzen application.
Create a new Radzen application by following the first step from the quickstart guide.
After finishing step 1 you will see again the My Applications screen with your application on it. Click the application to start editing it.
Click the data button in the upper right corner to add the MS SQL Server data source that your application will use.
This will open the My DataSources screen which allows you to add, edit and delete the data sources which your Radzen application uses. Initially this screen is empty because no data sources have been defined. Click the new button to add a new data source.
Radzen will then infer the schema of the entities exposed by the MS SQL Server data source. Click the Finish button to create the data source.
After finishing step 2 you will see the My DataSources screen. Click the close button at the top right corner.
Click the Create New Page button to add a page. Set the Page Name to Products. Click the Save button.
The page will open in edit mode.
Now that we have the Products page that displays the list of available products let's make a new page that will create new products!
Open the Add Product page for editing by clicking on its label. Now let's add a form that will capture the new product details.
We have created a form that will capture the user input. Now let's persist the user changes by invoking a data source method that will create a new product.
${event}
. The form component provides the user input as an event argument of the Submit event.Now let's navigate to the Add Product page.
You can now run the application to verify that you can add new products.
Radzen is free to use. You can also test the premium features for 15 days.
Start FreeSelect theme: