Dropdown functionnalities

Please, with Blazor I would like to know:

  • After loading a page, select the first item in a dropdown instead of having empty with the place holdder. This will then filter the underlined grid.

  • I put a button next to a dropdown which call a dialog to add new item. When the dialog is closed, I would like the dropdown to be refreshed with the new created item

Thanks for your help!

is there anyway please to solve the above ?

You should use the Value property of the DropDown to specify the initially selected item. And to update its items - update the DropDown Data property.