Тёмный

Advanced AJAX CRUD in ASP.NET Core MVC and Dynamic Cascading Selectlist 

CodeS
Подписаться 8 тыс.
Просмотров 24 тыс.
50% 1

Advanced AJAX CRUD in ASP.NET Core MVC and Dynamic Cascading Select list
In this ASP.NET Core Tutorial,
We will learn how to Create Cascading Select List.
and populate the selectlist dynamically using AJAX.
The first select dropdown list has Country Names.
and the second selectList has City Names. when we select a Country From the Country Selectlist the cities of the Selected Country will be loaded
in the cities selectlist from the Database using the AJAX Call.
I have Used AJAX and Partial views to create this Application.
AJAX (Asynchronous JavaScript and XML) in the Web Application is used to update parts of the existing page and to retrieve the data from the Server asynchronously.
AJAX improves the performance of the Web Application and makes the Application more interactive.
Bootstrap is one of the most popular HTML, CSS and JS frameworks for developing responsive, mobile first projects on the Web.
In this Application you will learn how to do Partial refresh of the Listing Screen and avoid the loading of Lists after the CRUD operations from the database.
Please watch the full video and put your valuable suggestions in the comment box.
Thank You.
Best Regards,
Aniz

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 56   
@akelacredente5134
@akelacredente5134 Год назад
Anisz You are not just passing Knowledge but you are also saving lives... My appreciation is unmeasureable.
@TheAbushamel
@TheAbushamel 10 месяцев назад
Always , you're best of the best , strong knowledge , prefect explain and advanced exercises.
@softer.prakashmishra8040
@softer.prakashmishra8040 8 месяцев назад
Thank you so much for improving my knowledge and skills it's a more important topic for me and I'm speechless of your work
@purnarana9081
@purnarana9081 Год назад
Very Nice Video. Thank you sir
@franklint8301
@franklint8301 Год назад
Good and deep work. Thank you.
@CodeSbyAniz
@CodeSbyAniz Год назад
Thank you too!
@nazihjrg3540
@nazihjrg3540 Год назад
dear brother thnk you so much for your priceless tutorials, but i need ask you to provide tutorial for creating rdlc report , i will be much appreciate to you,
@DastanSarayeOfficial
@DastanSarayeOfficial Год назад
informative
@cissemy
@cissemy 7 месяцев назад
Thanks Let's we have 200 countries in the list , is it possible to search the country by name or code instead of scrolling a long list ?
@mocococo2877
@mocococo2877 Год назад
Thank you and greetings from Bulgaria. Following your code closely and your tutorial, not very closely, I noticed that you do not have List or IEnumerable in the City model for students. One City can have many students. Same for goes the Country. One Country can have many cities. Since I am somewhat midd level but with many gaps, please help. Why was that ?? Thank you.
@AAA-f3z1p
@AAA-f3z1p Год назад
Greate veido , thanks
@CodeSbyAniz
@CodeSbyAniz Год назад
You are Welcome
@surya.banerjee
@surya.banerjee Год назад
Very nice tutorial and step by step explanation 👍 Subscribing to learn more from you ❤ Waiting for your next videos for managing stock for the same. Thank you so much ❤
@GALASolar
@GALASolar 7 месяцев назад
Very Good video. I could not find the text file in which the codes are written. Could you please give a link?
@janbenedictcacho1979
@janbenedictcacho1979 Год назад
Please create dynamic menu with submenu so my code will not hard coded.. Thank you..
@randybryant6277
@randybryant6277 Год назад
Hi! I'm having two problems with this tutorial that I can't figure out. First, when I try to edit a customer record, as soon as I click the 'Edit' button, the text box for the filename is highlighted in blue and nothing happens. I think this is some kind of client side problem because I put a breakpoint in the HttpPost Edit action and it was never hit. There is an image associated with the record and it appears in the Profile Photo box. My second problem is that I can't delete a customer record. I get an error, "Cannot insert the value null into column 'Code', table 'Household.dbo.Countries'; column does not allow nulls. INSERT fails..... (I used an existing 'Household' database.
@randybryant6277
@randybryant6277 Год назад
Update - Started over from scratch and edit now working but still having same problem deleting a customer. I've spent hours searching for solution. Any help would be appreciated. An actual delete was not demonstrated in the tutorial so not sure code is correct.
@CodeSbyAniz
@CodeSbyAniz Год назад
_context.Attach(customer); _context.Entry(customer).State = EntityState.Deleted; _context.Entry(customer.City).State = EntityState.Detached; _context.Entry(customer.City.Country).State = EntityState.Detached; _context.SaveChanges(); return RedirectToAction(nameof(Index));
@alfatihflowlesk4010
@alfatihflowlesk4010 Год назад
@@CodeSbyAniz guys if this code of the instructor didn't work try this it will work _context.Attach(customer); _context.Entry(customer).State = EntityState.Deleted; _context.Entry(customer.City.Country).State = EntityState.Detached; _context.SaveChanges(); return RedirectToAction(nameof(Index)); this worked will and the row deleted successfuly
@ocha736
@ocha736 Год назад
​@@alfatihflowlesk4010 thanks. It works.
@patelujjaval7026
@patelujjaval7026 4 месяца назад
Sir this project is very good and helpful for my training session...so thank you sir... Please sir send the zip file this project Given zip file is not found Please sir share your source code...
@arif946
@arif946 11 месяцев назад
Sir from where we can see the inward and outward videos of transaction
@cariot40
@cariot40 Год назад
Hello, I tried your Video because im a newbie, but since the Modal I have not understand the Steps because there is someting Wrong..in Video you call function as Coutries not as Countries, then you put one function called cityCreateModal into side.js under a function ShowCountryCreateModal, where I not have seen, that it was Copied. In the Video sinc 1:21:12 beginning there is something wrong because I have tried to do the same as you, but i can not insert a Customer (Country) like your video...can you help me please?
@ahmedkilinc78
@ahmedkilinc78 Год назад
Bro thank u so much but Column Country is empty. How can i fill the column country after select country in create or edit?
@CodeSbyAniz
@CodeSbyAniz Год назад
You are most welcome, Please watch again, complete source is given with the video. follow the steps shown. you can make it.
@weldingmachinery
@weldingmachinery Год назад
Hi there just wondering about the token that is on the post controller methods to prevent a cross script attack. Do you think it is important security wise, is this necessary and is there a simple way to get this to work when uising the MCV razor AJAX helper methods. I see some posts on the internet where the token can be included in a seperate jquery script at the end of the cshtml file. In summary is the token necessary and what is the best way/most straightforaward way to include it into partial razor views where the AJAX mvc helpers are used. I want to stay away from separate script sections in views where possible, defeats the purpose of the Razor Ajax helpers and also no doubt there will be conflicts I am sure between the ajax mvc helpers and a seperate script section in the same AJAX post from the view
@CodeSbyAniz
@CodeSbyAniz Год назад
Thanks for the Idea. will do a tutorial on it in the future.
@MohamedHassan-qp1bz
@MohamedHassan-qp1bz Год назад
Thank you, great job. Where can I find your code.
@CodeSbyAniz
@CodeSbyAniz Год назад
You are welcome, supporting source code link is shown in the video.
@086sayem
@086sayem Год назад
very nice video, thanks and need the source code please
@CodeSbyAniz
@CodeSbyAniz Год назад
Source code link and steps are shown in the video
@danielspurrell
@danielspurrell Год назад
its been over 2 weeks but the source code is at 6:27 in the video, hope you are well
@taufikfauzi3859
@taufikfauzi3859 Год назад
why column country in city is empty?
@CodeSbyAniz
@CodeSbyAniz Год назад
may be you skipped some parts of the video. it is working fine for me.
@TogetherUs143
@TogetherUs143 Год назад
Sir, In the video, Where the source code link ? kindly refer the code
@CodeSbyAniz
@CodeSbyAniz Год назад
link is shown in the video please watch without skipping. thanks for watching.
@LevaniKakhidze-h3f
@LevaniKakhidze-h3f Год назад
Github Link Please
@mianawais98
@mianawais98 Год назад
Where is the Source Code Link??
@mdobaydullah360
@mdobaydullah360 7 месяцев назад
Please send this source code.
@southfitness7567
@southfitness7567 Год назад
Where is the source code link
@AhmedTXT
@AhmedTXT Год назад
brother could you please attached project
@deepshikhakushwaha2530
@deepshikhakushwaha2530 Год назад
Hi sir where we can find source code of this project
@CodeSbyAniz
@CodeSbyAniz Год назад
please check, the link is very much working.
@nguyentuananh4078
@nguyentuananh4078 Год назад
Where is the source code?
@jaswanthsingh5227
@jaswanthsingh5227 Год назад
Please provide source code
@CodeSbyAniz
@CodeSbyAniz Год назад
supporting source code link is shown in the video
@universalsteelfabricator4121
Code please
@CodeSbyAniz
@CodeSbyAniz Год назад
Source code link and steps are shown in the video
@hamrouni66
@hamrouni66 Год назад
@@CodeSbyAniz source code please full
@diamondphilip1045
@diamondphilip1045 Год назад
Source Code Thanks
@CodeSbyAniz
@CodeSbyAniz Год назад
Source code link and steps are shown in the video
@diamondphilip1045
@diamondphilip1045 Год назад
@@CodeSbyAniz Link not shown in the video kindly paste it here thanks
@lynshadad6765
@lynshadad6765 Год назад
source code plz
@CodeSbyAniz
@CodeSbyAniz Год назад
Source code link and steps are shown in the video
Далее
Teeth Aren't Supposed to Do This
8:30
Просмотров 2,8 млн
V16 из БЕНЗОПИЛ - ПЕРВЫЙ ЗАПУСК
13:57
Blue vs Green Emoji Eating Challenge
00:33
Просмотров 1,7 млн
jQuery Ajax CRUD in ASP.NET Core MVC using Popup Dialog
59:47
Brutally honest advice for new .NET Web Developers
7:19
Asp.Net Core MVC CRUD Operations with EF Core
55:25
Просмотров 187 тыс.
Why aren't you using Fastify? Or Koa? Or NestJS?
9:58
DHH discusses SQLite (and Stoicism)
54:00
Просмотров 81 тыс.