so does all the window markup have to be defined in your main page that wants to show it?

2 Answers 23 Views
Window
David
Top achievements
Rank 1
Iron
Iron
Iron
David asked on 03 Jun 2021, 01:20 PM
I want to make a separate razor page to to hold the markup & code for the window component. Then display it modally on the man page. Can that be done?

2 Answers, 1 is accepted

Sort by
0
Nadezhda Tacheva
Telerik team
answered on 08 Jun 2021, 09:30 AM

Hi David,

Yes, you can create a separate component to hold the markup and code for the TelerikWindow. Then on the main page you can get a reference to this component and use that to toggle the field that is bound to the Visible parameter of the Window.

To better illustrate how to achieve the described scenario, I have created this knowledge base article - Open a Window from another component.

I hope you will find it useful. If any further questions appear, please do not hesitate to contact us.

Thank you for choosing Telerik UI for Blazor!

Regards,
Nadezhda Tacheva
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
David
Top achievements
Rank 1
Iron
Iron
Iron
answered on 08 Jun 2021, 01:07 PM

Thanks I have it working now as a sperate component with a mulitselect in it.

 

Tags
Window
Asked by
David
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Nadezhda Tacheva
Telerik team
David
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or