Delete confirmation dialog in Blazor

  Рет қаралды 25,988

kudvenkat

kudvenkat

Күн бұрын

Once a record is deleted from the database, there is no easy way to recover it. So it's always a good practice to display a confirmation on Delete. In this video we will discuss, how to implement delete confirmation in Blazor.
Text Article and Slides
www.pragimtech...
Healthy diet is very important for both body and mind. We want to inspire you to cook and eat healthy. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking.
/ @aarvikitchen5572
Blazor tutorial for beginners
• Blazor tutorial for be...
Blazor Blog
www.pragimtech...
Angular, JavaScript, jQuery, Dot Net & SQL Playlists
www.youtube.co...
Let's gift education together
/ kudvenkat

Пікірлер: 47
@paulgehrman
@paulgehrman 3 жыл бұрын
Got this to work very quickly. Much appreciated. Also appreciated the thorough explanation of how all the pieces fit together.
@appci8282
@appci8282 2 жыл бұрын
Once again, 2 yrs in and everything works just fine. And more importantly it was pretty easy to understand what's happening.
@Ameworlds
@Ameworlds 10 ай бұрын
Best blazor tutorial still in 2023
@louisecrowe4968
@louisecrowe4968 3 жыл бұрын
Another amazing video, thank you so much Venkat :)
@charlesbaldo
@charlesbaldo 4 жыл бұрын
Thank You, been trying to figure this out since delete
@diegomora5196
@diegomora5196 2 жыл бұрын
Great tutorial, It's work great for me
@parashgoswami264
@parashgoswami264 3 жыл бұрын
Hi... thanks for the great tutorial. Can you let us know your visual studio setup, theme and editor font and size.they just look pretty
@IvanSpahiyski
@IvanSpahiyski 4 жыл бұрын
Thank you! Very useful tutorial!
@chill4
@chill4 3 жыл бұрын
Thaks for the videos. Try to filter the background sounds, couse is stressing to listen all the time in the videos, like construction background deep sounds, thanks for all.
@salvo4882
@salvo4882 4 жыл бұрын
Thanks for the tutorial, I found it very useful. I have a problem. The modal mask appear only once time. What am I doing wrong?
@torrvic1156
@torrvic1156 3 ай бұрын
Same stuff. Did you fixed it? Feeling very confused about that.
@imadabab
@imadabab 3 жыл бұрын
Beautiful. Thanks a lot.
@conaxlearn8566
@conaxlearn8566 4 жыл бұрын
Hello, the background is not darkened like the demo on Bootstrap site. I suppose it is because we are using event to show the model instead of using the data-toggle and data-target attributes?
@zacboyles1396
@zacboyles1396 4 жыл бұрын
To get the animation working, you need to structure it differently. The button to open the dialog should be in the .razor file and you'll need to use the data-toggle and data-target attributes. Lastly, you need to add jquery.js, popper.js and bootstrap.js to the bottom of your _Host.cshtml file but above the blazor.server.js script tag. Personally, I have a Modal as a component with the content as a RenderFragment object.
@rdrgox
@rdrgox 3 жыл бұрын
add: wwwroot\css\site.css .modal-backdrop.show { opacity: 1; filter: alpha(opacity=100); /* Para versiones anteriores de IE */ } .modal-backdrop { background-color: rgba(0,0,0,0.5); }
@nathangreene2626
@nathangreene2626 3 жыл бұрын
@@rdrgox I put your code in wwwroot\css\site.css but nothing changed. How do I apply this css to a page? Thanks!
@sudiptoatutube
@sudiptoatutube 3 жыл бұрын
11:54 All I can understand in the end that Mary is your favorite name who escaped all your deletes!!! Just joking! You are genius in Dot net training. May God bless you.
@Poeisible
@Poeisible 3 жыл бұрын
Thank's you so much for the video series. Following this video, I got exception on statehaschanged() command.. Invalidoperationexception: the render handle is not yet assigned. Any solution ?
@dangkolache
@dangkolache 4 жыл бұрын
Is there a benefit to making this public member and having to set a ref param over just having a "show" boolean parameter in the confirm component that shows the confirmation on update of the param?
@missionit2822
@missionit2822 3 жыл бұрын
Nice topic
@coolwaterdvr
@coolwaterdvr 4 жыл бұрын
thanks venkat. 🙏🙏🙏🙏🙏
@baNico23
@baNico23 2 жыл бұрын
Thank you
@joaolopes9926
@joaolopes9926 9 ай бұрын
Error CS0029 Cannot implicitly convert type 'Microsoft.AspNetCore.Components.ElementReference' to 'PragimTech.Components.ConfirmBase' Visual Studio 17.7 .Net7
@db81zg
@db81zg 6 ай бұрын
same here. did you find the solution?
@nikola7377
@nikola7377 3 жыл бұрын
So apparently nobody knows how to use fade with modal (with Blazor)?
@ganeshvisw
@ganeshvisw 4 жыл бұрын
When I use Show d-block in Confirm.raozor. On Click of delete button modal popup is displayed X and Cancel button is not working could you advise why this behaviour
@javaguitarist
@javaguitarist 4 жыл бұрын
I wish I knew what is wrong there (cannot guess what your code is), but it all worked for me after typing it all correctly.
@vasugadhiya2987
@vasugadhiya2987 4 жыл бұрын
How To enable Live Reloading or Hot Reloading ? like reactJS
@javaguitarist
@javaguitarist 4 жыл бұрын
He explained this before: NavigationManager.NavigateTo("/");
@levimatheri7682
@levimatheri7682 3 жыл бұрын
run project from terminal -> dotnet watch run debug --project EmployeeManagement.API then do dotnet watch run debug --project EmployeeManagement.Web
@richdorset
@richdorset 3 жыл бұрын
Mine won't delete twice in succession...
@richdorset
@richdorset 3 жыл бұрын
I put the tag in the wrong place... fixed now.
@doorscomputersco.5713
@doorscomputersco.5713 4 жыл бұрын
May I kindly request if you can do a tutorial on a One to Many data entry Please. Thanks!
@hikayat_stories
@hikayat_stories 4 жыл бұрын
This is a useful link: docs.microsoft.com/en-us/aspnet/core/data/ef-mvc/complex-data-model?view=aspnetcore-3.1
@charlesbaldo
@charlesbaldo 4 жыл бұрын
Checkout search. “AK Academy blazor”. He use a third party grid that is no cost open source.
@chezchezchezchez
@chezchezchezchez 4 жыл бұрын
Work with Razor pages too?
@salvo4882
@salvo4882 4 жыл бұрын
I try it on a razor page with razor component. It work, but in my case the modal page appear only the first time. Surely I did something wrong
@pembebulut2781
@pembebulut2781 2 жыл бұрын
I couldn't make it work
@gkmishra2009
@gkmishra2009 4 жыл бұрын
Give video on ES6
@anithayedla5444
@anithayedla5444 2 жыл бұрын
Not working in Blazor 5
@amer-ik7jj
@amer-ik7jj 4 жыл бұрын
when will be next video
@KHOINGUYEN-oj9oz
@KHOINGUYEN-oj9oz 4 жыл бұрын
I have this error when using component. Anyone know how to fix this? "Cannot implicitly convert type 'Microsoft.AspNetCore.Components.ElementReference'" to 'EmployeeManagement.Web.BaseComponent.ConfirmBase'
@zacboyles1396
@zacboyles1396 4 жыл бұрын
You used the wrong type for your DeleteConfirmation property. It needs to be the PragimTech.Components.ConfirmBase type.
@gkmishra2009
@gkmishra2009 4 жыл бұрын
Give video on Splunk
@parlamasisidoros
@parlamasisidoros 3 жыл бұрын
Anyone can show us how to do this on PRODUCTION level? Local level email confirmation is NOT anybody's goal...
Blazor attribute splatting
6:31
kudvenkat
Рет қаралды 12 М.
Blazor EventCallback
7:48
kudvenkat
Рет қаралды 34 М.
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 86 МЛН
English or Spanish 🤣
00:16
GL Show
Рет қаралды 19 МЛН
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
Compare validation in blazor
8:55
kudvenkat
Рет қаралды 17 М.
Blazor data binding
8:15
kudvenkat
Рет қаралды 33 М.
Dependency Injection in C# in simple word with Real Time example
13:46
EmpowerLearning
Рет қаралды 4,8 М.
Cursor Is Beating VS Code (...by forking it)
18:00
Theo - t3․gg
Рет қаралды 93 М.
Blazor cascading values and parameters
6:22
kudvenkat
Рет қаралды 23 М.
Blazor custom form validation
7:17
kudvenkat
Рет қаралды 20 М.
Edit and Update in Blazor
8:11
kudvenkat
Рет қаралды 28 М.