Open Dialog/Navigate to

Hello Radzen Team,
i have a question about "open dialog" and "navigate to"...

I have ceated crud pages, lets say "X" with option "open add/edit in dialog" = false.
Now i want to use the add page as an dialog from another page lets say... Y
When i open "add X" with opendialog form "Y" and close "add x" via save or cancel then add x navigate to "X".

How can i use the add/edit pages from other pages as dialogs?
Given a parameter when opendialog may solve the cancel button navigate to but how about the save (submit) button? the navigate to is in the from0submit method which cannot be changed?!

Thanks for Help
Thomas

Another question about opendialog...
Is it possible to use the actual browser window screen size for opening a page as dialog?

I got the problem that while adding data on a page, i should give the user the possibility to enter data on another page (because he wants to add a new entry in a drop down which is neccesary for the actual data input). When i navigate to the page for the new dropdown entry i must save the data the user has entered on the first page because its gone when i use navigate to. dont know how without great effort....so i try to use opendialog with the above problems and the problem that the opendialog page is to small (especially the width).

I hope a could explain my problem :slight_smile:

Greets
Thomas

When i try to give the opendialog a parameter this message appears:

I have read the Open Dialog section in the documentation:

What am i doing wrong? :thinking:

Thomas

You cannot have optional parameters. Once a page access is declared with parameters all other attempts to access this page should use the same parameters number, order and names.

Ok.
Where can i see which parameters are defined for a page?
I cant find something like tat on the "add-partner" page in Radzen Designer.

Thomas

Page parameters are not defined in the page itself - they are defined in navigate actions.

Ah. Ok. So i must search for the pages who has navigate actions with parameters that open add-partner page?

Thomas

Yes, you need to find all actions with navigate to specific page.

Ok. I have searched fror "add-partner":

image

No parameters where defined elsewhere so far as i can see.

Thomas

I've tried to reproduce it however everything worked normally on my end:




I dont know what happens here. i cant find any parameters for add-partners. Other pages are working. Only this one doesnt.
But at the time im working on a different approach. I have implemented a "ParameterService" as a Dependency Injection. For me its better to control the Parameters of the Application Pages.
When it happens that i find out whats going an with the parameter problem on add-partner i will post it here.

Many Thanks
Thomas