Modal Dialogs with Chris Sainty: Carl Franklin's Blazor Train ep 14
HTML-код
- Опубликовано: 8 фев 2025
- Carl welcomes Chris Sainty back to BlazorTrain to show Blazored.Modal, his OSS Modal Dialog component.
🔗 Blazor Train Website🔗
blazortrain.com/
🚀 Get Started Today - Free 30 Day Trial 🚀
dxpr.es/NUGET
dxpr.es/FREE-TRIAL
✅ Pricing and Online Demos ✅
dxpr.es/BUY
dxpr.es/DEMOS
🆘 We Are Here to Help 🆘
dxpr.es/SUPPORT
👍 Follow DevExpress on Social Media 👍
dxpr.es/FACEBOOK
dxpr.es/TWITTER
dxpr.es/BLOGS
🏁 Review Customer Testimonials 🏁
dxpr.es/TESTIMO...
dxpr.es/MARKETP...
#DevExpress #devexpress_blazor #devexpress_web #aspnet #aspnetcore #blazor #datavirtualization #blazortraining #carlfranklin #blazortrain #webdeveloper #microsoft
You are legends, Mr. Franklin and Chris! That was very helpful and informative! Thank you so much!
This is pure gold..thank you for sharing Chris and Carl for giving some great explanation about cascading parameters. Here in London is bit gloomy weather hope it gets better so I could get out for some sprints and think on architecture of my apps using cascading parameters instead of squeezing DI everywhere..
This a great! Thanks Carl and Chris!
Glad you enjoyed it!
Great Episode!
Thanks Carl Thanks Chris.
Excellent work
Thanks! Glad you like it!
Sorry, I know this is several months old, but I have a question about the Cascading Parameter technique for the Modal.
How would I use the Modal cascading parameter if I also want to use Cascading Parameters for other state management. Would I NEST them at the route level? And would order matter?
Hi Keith. Thanks for the question! Nesting Cascading parameters is the way to go. Order would matter only if you plan to access one inside the other.
In the Styling section - where is the "my-custom-class" css stored/written?
Why does Microsoft not support this NuGet package in Blazor 8? I thought you were a trusted partner for Blazor and third-party component selection. I trust you because your videos usually provide valuable insights, but now I'm stuck with this NuGet package.
I'm not sure what you mean? I use Blazored.Modal in .NET 8. However, there is a problem using CascadingParameters in .NET 8 when you use per page/component interactivity. See episodes 102 and 103. - Carl
Great presentation. Just a quick question here, if I want to have lets say three buttons on the Modal, how do we differentiate? By passing back different data I guess?
Hi Amjad. Thanks for the comment. As for the three buttons, wire each button to a different onclick handler, each of which sets a parameter value and closes the dialog. The calling code can then inspect that parameter value.
Do I have this right? When you use the timed fade out, basically you’re using this as toast, correct? Thanks
Yes. You're correct.
How can I most "simply" remove the two buttons on a 3 second "show message" modal that disappear after 3 seconds?
I don't want to make a WHOLE custom just for hiding the 2 buttons!
Thanks!
Hi Jim. You can either make a new modal or add a bool parameter to hide the buttons.
@@DeveloperExpress thanks. Silly me. I built the component with buttons and “forgot” I could use code to hide them when needed. 👊🏻 cheers.
Comparing both DevExpress Modal Popup and Chris Blazored.Modal which is a better choice? Anyone can share your experience using them? Thanks.
@Bernard, I recommend testing our Blazor Popup component in your local project. Here's an online demo:
demos.devexpress.com/blazor/Popup
Here's the docs:
docs.devexpress.com/Blazor/DevExpress.Blazor.DxPopup
If you run into issues, then contact our support team and they can help you:
devexpress.com/ask
Thanks.
@@DeveloperExpress is not Devexpress paid components?
Hi Chris, please make progress bar Nuget
works pretty good for me.