Open existing page as dialog from Main Layout button click - fail

Hi guys,

I had this issue in another project. To confirm, I created a new project (Radzen 2.54.5) with 2 pages.
"Home" as landing page, and "DialogOrNot" for testing. Both pages were created as empty and only have a title.

I have modified the Main layout and added a button that is to be used to open the DialogOrNot page in a dialog. image

I then configured the Click event to open DialogOrNot as a dialog.

When clicking Done, the following error message is displayed:


and this is after Radzen was able to find it and offer it for a dialog page :slight_smile:

Checking the generated code shows that the layout has no knowledge of the specific page

Of course, I was able to add a using project.Pages namespace to the generated code and run using Visual Studio successfully. Not ideal as I'd like to use Radzen and not a workaround.

Expected or error?

thanks,
Miles

Hi @jamesmd2,

Thank you for reporting this issue! We will fix it with the next Radzen release