SfDialog - Open component

Hi there,

lets say we have 2 pages (pageA.razor and pageB.razor).

Is it possible to open the component pageB.razor in a dialog of pageA (open async)?
When clicking a button DONE on pageB it should send a return value (e.g. a string ID="14") that is received by page A (await)

Any idea?

Cheers,
Volker

PS: in Radzen we can do it like this (open page B within page A as a dialog, send 2 parameters to pageB, receive a return-value returnID from page B):



Please have a look here: https://blazor.radzen.com/dialog

3 Replies 1 reply marked as answer

IS Indrajith Srinivasan Syncfusion Team September 9, 2020 12:34 PM UTC

Hi Volker, 
 
Greetings from Syncfusion support, 
 
We have validated your reported query. We have a similar way of showing the SfDialog rendered in another page, with a button click in different page. We have also prepared a sample that tries to meet your requirements. 
 
 
Can you please check the above sample and let us know if it comes close to your requirements? 
 
Regards, 
Indrajith 


Marked as answer

VO Volker September 22, 2020 08:18 AM UTC

Hi Indrajith,

cool solution. Will try to implement it and let you know if it worked

Cheers,
Volker


IS Indrajith Srinivasan Syncfusion Team September 23, 2020 06:50 AM UTC

Hi Volker,

Take your time,

We will wait until we get an update from you.

Regards,
Indrajith

Loader.
Up arrow icon