goo.gl/bPcyXW : Buy me a Coffee bit.ly/2yEPlpB : Latest Video on this Same Topic bit.ly/36IA1cH : AspNet Core MVC CRUD Operations bit.ly/3Pn2S7y : Expense Tracker App in AspNet Core MVC bit.ly/403lUVC : MVC Login & User Registration bit.ly/39B6xdh : Image Upload in AspNet Core MVC bit.ly/30fPDMg : More MVC Tutorials
my image preview is not coming i have done everything right..........crosschecked the code thrice but still image is not showing in preview please help
This is best video to learn things easily , it gave me a confident that i can work down easily on mvc . thank u very much as a beginner its very usefull
Excellent mvc video tutorial on youtube.........plz upload code first approach with store procedure.....in many interviews i have been asked by interviewer
Your demo very great and helpful as professional level. I appreciate it. As you know real time sceniro projects we need PDF report, displaying dynamic charts in page, notification, cascading drop down etc. Request you to please make videos on that ASAP. Without it project can't be completed. You also make small project and try to explain all that's very good options. Please carry on your channel soon become more n more popular.
Excellent bro, I do practice these examples in my laptop, thanks for help and keep uploading more exercises so that it will useful to me very muchhhhh.
Firstly thank you for publishing....... But, a small thing......better to put some more controls like calendar control for age, dropdown lists for cascading process,..... Please take this as a suggestion.... Thanks.
Thank you for the great videos. You would make a drop-down list instead of image processing. You show us how to select a category and how to fill out the drop-down menu.
First of all Thank you very much. I have a problem in adding View. (17:07). When I right click I can't see add View section. Do you have any idea about it?
thumps up. plz do some push notification with signal R. r some signal R examples..itz a very humble request to you. i watched your videos that was awesome. keep it up.. thankx.
Nope. Silent fail. I am using Chrome Version 67.0.3396.99. I have had this kind of failure before a couple of years ago, it cost me a lot of pain, and I learned that it is some kind of Chrome bug which will be sorted out in the future. Maybe my version of Chrome is not upto date. I left the comment so as to help any other students if they are facing the same.
Hello. Please help me. After entering the edition and not entering any photo and saving it shows the error: System.NullReferenceException: ImageUpload.get returned null.
this is a wonderful crud opeartion using jQuery ajax thanks you so much, this video is helpful..but the last part of this video on spin loader didn't work on my own, is there any script file you added and failed to show it on the video please help? i have done all what you did in video yet it didn't work, i have copy and paste the the div class on layouts.cshtml, past the css on the site.css and the fuction script on the scripts.js . all these i ahve done yet not working..
Just an observation, if you reload the page in the Add New tab, an existing data is automatically populated to the input boxes. How would you fix that?
Is it possible instead of directly inserting the new data into the database, bulk insert all the data inserted in the datatable by using a single SUBMIT button at the bottom of the Datatable?
I have a really strange problem everything works accept for the adding and editing. When i add or edit a record a json page is show instead of the view. It's like it doesn't recognize the "ViewAll " in the return Json( ...... );. The records are added and edited successfully, but i have to manualy type in the URL to the employee index page after add or update.
You ROCK! :D one problem. After editing connection strings here and there - updating model and so on. All set! But in the EmployeeController I can't see the ImageUpload method/function. So emp.ImageUpload does not contain a definition... are you missing an assembly reference? Why does this happen? I would assume it's the function "ShowImagePreview" in AddorEdit.cshtml it can't see.
Had the same problem turned out that in Models/Employee.cs there needed to be some more libraries used. Solved the situation by copying the code from the downloaded project.
Felix Mircea but I already have the downloaded project and are using the relevant namespace for the Image upload method. The method is there, but can see it. Can use use all other methods from the lib thou
Hey, another one great video! I have one problem..After inserting the edit option..on submiting, It redirects me to the JSON file in browser with its code, it doesnt redirect me to the ViewAll. Also,When using redirect to action to ViewAll, shouldn't it be to Index instead? Because ViewAll redirects me to the ViewAll page without the layout and tabs. Also, my loader isn't showing at all
the problem may have been with the mvc version. when I downgraded to 5.1.1 it worked with your code..but the problem with the loader is still there..I dont see it at all. I have added the parts in the js,css and layout files
The problem was that in this clip you put the loader divs in the the separate section. When I put them after the footer, or before.everything works fine. Thanks a lot, the whole playlist is really helpful and amazing!
hi Dotnet Mob. i am having similar issue.i am using 5.1.1.After inserting or edit..on submiting, It redirects me to the JSON file in browser with its code, it doesnt redirect me to the ViewAll. instead of that i am redirecting it to index.....any help
Hi, I have a question about your .sql script which you attached to the source code. Please, explain how can I use it to make the database identical with yours? Thanks
Sir I am following ur video...in this video in script.js in jQueryAjaxPost function i am unable to get validator keyword after $. Should i have any other refrence to get access for that keyword....will u pls clarify this
In case using ViewModel Image is not uploading but when i use a simple model every thing is working fine please help me how to fix this issue thanks in advance
could you explain more about the 'edit' I have some jquery on the layout page it works with the 'Add new' but not with 'edit'. Also the edit pic preview not working.
Hello dotnetmob. I got a huge problem when using select2 dropdownlist in this project. It loads fine for adding a new entry. But when I try to edit the entry, normal dropdownlist loads, not the select2 dropdownlist. Can you please give me a solution?
Hi, once I click on the submit button it just directs only with JSON script but does not direct to the view all tab. I even downgraded the MVC version to 5.1 but still I'm redirected to /addoredit destination with the json result :( can you help me out?
my image preview is not coming i have done everything right..........crosschecked the code thrice but still image is not showing in preview please help
@@CodAffection (Error on line 61) Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 59: Line 60: Line 61: @Html.LabelFor(model => model.ImagePath, htmlAttributes: new { @class = "control-label col-md-2" }) error on line 61
after ajax post my controller will add the record and redirect me to a blank page like this and won't even reach to success function. it happend to me before when I was following ur other ajax crud tutorials {"success":true,"html":"
Hey, thanks for the nice video, but there is one issue i found with the code is, when you click two times on submit button /enter two times then it enter duplicate record.
Thank you for job) 🙂But have problem that not working with line "fileName = fileName + DateTime.Now.ToString("yymmssfff") + extension;" in AddOrEdit method! After coment it - working! Why?)
I'm facing similar issue here. using asp-action tag helper and returning partial views, not working. but what worked me is that rendering the partial views using jquery/ajax .
goo.gl/bPcyXW : Buy me a Coffee
bit.ly/2yEPlpB : Latest Video on this Same Topic
bit.ly/36IA1cH : AspNet Core MVC CRUD Operations
bit.ly/3Pn2S7y : Expense Tracker App in AspNet Core MVC
bit.ly/403lUVC : MVC Login & User Registration
bit.ly/39B6xdh : Image Upload in AspNet Core MVC
bit.ly/30fPDMg : More MVC Tutorials
Thanks man, I also got some, if u need..
my image preview is not coming i have done everything right..........crosschecked the code thrice but still image is not showing in preview please help
bhai is crud program mein table paging kaise karenge...please reply
One of the best tutorials to get started with an MVC application
Excellent video to start with web development in MVC, keep it up sir.
Glad you found the video helpful.
You are a great helpful guy for developers...BOOM................
AweSome work by you sir. Simply followed what ever you were saying and implemented the exact with other example. Thanks lot for your videos.
thanks for stopping by and for leaving this wonderful feed back.
Thank you Sir! This is exactly what I was looking for ! Respect!!
Best MVC videos... Nice content. Keep it up Sir.
This is best video to learn things easily , it gave me a confident that i can work down easily on mvc . thank u very much as a beginner its very usefull
I am glad you found the video helpful.
wowowowow eng ,this tutorial is so awesome thank eng and please dont stop this tutorial i realy need it .
Excellent mvc video tutorial on youtube.........plz upload code first approach with store procedure.....in many interviews i have been asked by interviewer
Thank you so much.
This is what I've founded for a long time.
Just Perfect.
Thanks so much again to share your thing.
I am glad, You found the video helpful.
Thanks a lot, I do this project by myself 🙂
Your demo very great and helpful as professional level. I appreciate it.
As you know real time sceniro projects we need PDF report, displaying dynamic charts in page, notification, cascading drop down etc. Request you to please make videos on that ASAP. Without it project can't be completed. You also make small project and try to explain all that's very good options.
Please carry on your channel soon become more n more popular.
Thank you Dinesh.
For more MVC tutorial check this : ruclips.net/p/PLjC4UKOOcfDSAIwNEZmHtTTKf1F3UxfBk
Dotnet Mob thanks dear. You have any plan to make small demo project using web API with angular 5 for web application.
Dotnet Mob thanks
Very good publication, thank you very much for your time and effort, interesting subject and very well explained.
I am glad you found the video helpful and thanks for the support.
Excellent bro, I do practice these examples in my laptop, thanks for help and keep uploading more exercises so that it will useful to me very muchhhhh.
Very informative. This is what i am looking for. Thank you very much
thanks for the comment.
Thank You Sir, Your Work is Very Inspiring to me.
Firstly thank you for publishing.......
But, a small thing......better to put some more controls like calendar control for age, dropdown lists for cascading process,.....
Please take this as a suggestion....
Thanks.
thanks for the comment.
Thank u so much for this awesome tutorial! Keep going!
It would be very helpful if you had made different topic wise sections in the video.
Apart from that Great Work!
Thanks for the suggestion, next time, I will consider that.
This video is really very very helpful.. Thank you so much sir😀. Keep making awesome videos like this 🤗😀😀
My pleasure & Wish You Good Luck.
Thank you !!! , just what I was looking for
Very helpful thank you so much 😊
Thank you for the great videos. You would make a drop-down list instead of image processing. You show us how to select a category and how to fill out the drop-down menu.
gokan yapma allah askina. bildigim 2 gram ingilizceyi unuttum
@@galaxy1066 Çeviri bu kadardı 3 yıl önce 😂
Great video, thank you for your great efforts.
Glad you found the video helpful.
Thee best just started with C#
That 's awesome.Learn a lot. Thank you very much.
Glad you liked it!, keep learning and sharing.
Thank you so much for sharing this valuable information.
my pleasure.
Thank you, we wait now how to do all this in .net core mvc.
I'll think about it.
thanks for the video . It helped me a lot .
Great Video, wish you all the best
Thank You.
First of all Thank you very much. I have a problem in adding View. (17:07). When I right click I can't see add View section. Do you have any idea about it?
ok. I have just solved it when I restart my Visual Studio.
Gracias por tu aporte.
Me ayudo mucho
Thanks for the Help! Keep up the Good work :)
you are welcome.
Thank you for this great Tutorial
just amazing and wonderfull
Thanks for the video . I would like to ask where did you get your DBModel?
You are So So cooool , perfect , Thanks a lot Sir
you are welcome :)
excellent explanation dear... thx alot. please try to make a video for making bar, pie, line chats also with the same technology please
try these tutorials :
ruclips.net/video/1ys3lyMOaKw/видео.html
ruclips.net/video/E3S6XdAuqTU/видео.html
Really very helpfull to me thank you.
thumps up.
plz do some push notification with signal R.
r some signal R examples..itz a very humble request to you.
i watched your videos that was awesome.
keep it up..
thankx.
thanks for the support, As per your request I will do a video on Signal R
Dotnet Mob do some videos on signal ir real time application(push notification system)
nice and very helpfully tutorials...
A very helpful Tutorial Sir,
Please can you include a Tutorial for
Dates (Calendar)
Radiobuttons/Checkboxes
Dropdowns
Thank you
:) , good suggestion I will try.
Really amazing !!!!!!!!!!!!!!
Great demo. thanks
Glad you found the video helpful.
Well done. However, the spinner does not work in chrome - works everywhere else. Is there a work around for chrome?
Any error message ?
Nope. Silent fail. I am using Chrome Version 67.0.3396.99. I have had this kind of failure before a couple of years ago, it cost me a lot of pain, and I learned that it is some kind of Chrome bug which will be sorted out in the future. Maybe my version of Chrome is not upto date. I left the comment so as to help any other students if they are facing the same.
Sir I enjoyed your video tutorial helpful, but sir do you offer online training or help on asp project?
Thanx alot very useful tutorial
thanks :)
great video. thanks for sharing
thank you. very helpful.
Hello. Please help me.
After entering the edition and not entering any photo and saving it shows the error: System.NullReferenceException: ImageUpload.get returned null.
this is a wonderful crud opeartion using jQuery ajax thanks you so much, this video is helpful..but the last part of this video on spin loader didn't work on my own, is there any script file you added and failed to show it on the video please help? i have done all what you did in video yet it didn't work, i have copy and paste the the div class on layouts.cshtml, past the css on the site.css and the fuction script on the scripts.js . all these i ahve done yet not working..
Firstly thank you for publishing
But. I hope you have some video about Authorization and authentication with identity. Thank so much
Excelente. Muchas gracias
Thanks for your tutorial..... can you join two table in simple form
I'll try.
Dot Net Mob is a great Mob in Town
Thank you sir.
tnx very much awesome clarification
I am glad you found my work helpful. thanks for the comment.
Thanks a lot sir 🙏🇮🇳
so great! thx. i have some question,
where is, and what is the Employee"s"? I made db table name is Employee, mabye that's right??
i'm so Curious!
Employees is the name of dbset in the context file...check the context file in model folder
Everything worked fine...
Just an observation, if you reload the page in the Add New tab, an existing data is automatically populated to the input boxes. How would you fix that?
Hello DotnetMob. Can you please make a tutorial for CRUD operation of ASP.NET CORE 2.0?
yes I will try
Please do it in Visual Studio and if possible....please do it with the SPA template also
they are replaced by ViewComponents in .net core 2.0 .
Is it possible instead of directly inserting the new data into the database, bulk insert all the data inserted in the datatable by using a single SUBMIT button at the bottom of the Datatable?
I have a really strange problem everything works accept for the adding and editing. When i add or edit a record a json page is show instead of the view. It's like it doesn't recognize the "ViewAll " in the return Json( ...... );. The records are added and edited successfully, but i have to manualy type in the URL to the employee index page after add or update.
try this : stackoverflow.com/a/13277616/4133590
if not workingplease download and compare the demo project.
very useful
You ROCK! :D one problem. After editing connection strings here and there - updating model and so on.
All set! But in the EmployeeController I can't see the ImageUpload method/function.
So emp.ImageUpload does not contain a definition... are you missing an assembly reference?
Why does this happen? I would assume it's the function "ShowImagePreview" in AddorEdit.cshtml it can't see.
did you download the sample project.
Yes. Wondering if something is missing after I update the model. EmployeeController is not able to see the ImageUpload
Had the same problem turned out that in Models/Employee.cs there needed to be some more libraries used. Solved the situation by copying the code from the downloaded project.
Felix Mircea but I already have the downloaded project and are using the relevant namespace for the Image upload method. The method is there, but can see it. Can use use all other methods from the lib thou
In my case the downloaded application would have to be updated to work so in order to solve the error code had to be written/copied in a new project
Great 👍
Thank you.
thanx a lot, but if you write Employee/Delete?id=1 to address bar, no notification is returned. Or Employee/AddorEdit
Hey, another one great video!
I have one problem..After inserting the edit option..on submiting, It redirects me to the JSON file in browser with its code, it doesnt redirect me to the ViewAll.
Also,When using redirect to action to ViewAll, shouldn't it be to Index instead? Because ViewAll redirects me to the ViewAll page without the layout and tabs.
Also, my loader isn't showing at all
the problem may have been with the mvc version. when I downgraded to 5.1.1 it worked with your code..but the problem with the loader is still there..I dont see it at all. I have added the parts in the js,css and layout files
The problem was that in this clip you put the loader divs in the the separate section. When I put them after the footer, or before.everything works fine.
Thanks a lot, the whole playlist is really helpful and amazing!
Sorry for the late reply. Glad you solved the problem yourself.
hi Dotnet Mob. i am having similar issue.i am using 5.1.1.After inserting or edit..on submiting, It redirects me to the JSON file in browser with its code, it doesnt redirect me to the ViewAll. instead of that i am redirecting it to index.....any help
bro i am having same problem ...plz reply how to solve
If anyone has problems configuring the server, just specify (local) instead of (local)/sqle2012 or what not
Hi, I have a question about your .sql script which you attached to the source code.
Please, explain how can I use it to make the database identical with yours? Thanks
create the db - jQueryAjaxDB
and then execute the script file.
hi, Please upload a video on how to set bootstrap admin themes in ASP.NET MVC
Your series is very helpful. Thank you! Do you have a link to the code available?
+Jason Spalding please check video description, it's there
Good man.
Sir I am following ur video...in this video in script.js in jQueryAjaxPost function i am unable to get validator keyword after $. Should i have any other refrence to get access for that keyword....will u pls clarify this
GOAT
In case using ViewModel Image is not uploading but when i use a simple model every thing is working fine please help me how to fix this issue thanks in advance
I need this demo
Thenk you .
could you explain more about the 'edit' I have some jquery on the layout page
it works with the 'Add new' but not with 'edit'. Also the edit pic preview not working.
Hello dotnetmob. I got a huge problem when using select2 dropdownlist in this project. It loads fine for adding a new entry. But when I try to edit the entry, normal dropdownlist loads, not the select2 dropdownlist. Can you please give me a solution?
in case of bundleconfig.cs not present in my project then what to do? plz help me sir
what if I want to show a modal dialog box before proceeding with updating a record? Thanks !
thanks
brand man...
Source code: github.com/bikashmstha/jQueryAjaxInAsp.NETMVC
Hi, once I click on the submit button it just directs only with JSON script but does not direct to the view all tab. I even downgraded the MVC version to 5.1 but still I'm redirected to /addoredit destination with the json result :( can you help me out?
resolved it :D
@@SarangaAmaraweera how did you resolve it, I’m having the same issue only when I edit
my image preview is not coming i have done everything right..........crosschecked the code thrice but still image is not showing in preview please help
any console error message ?
@@CodAffection no nothing still it's not showing
@@CodAffection (Error on line 61)
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 59:
Line 60:
Line 61: @Html.LabelFor(model => model.ImagePath, htmlAttributes: new { @class = "control-label col-md-2" })
error on line 61
after ajax post my controller will add the record and redirect me to a blank page like this and won't even reach to success function. it happend to me before when I was following ur other ajax crud tutorials
{"success":true,"html":"
\u003ctable ...","message":"Submitted Successfully!"}
Hey, thanks for the nice video, but there is one issue i found with the code is, when you click two times on submit button /enter two times then it enter duplicate record.
How can I populates window user id and current date time to AddOrEdit form. Thx
would you mind if you start your project with visual basic also? i hope you feel good see my proposal. Big thanks.
why does RenderRazorViewToString not work for me in the GlobalClass
I can´t update the image when I click on "choose file" the image doesn´t change I check the code and it´s the same that on the video
lo resolviste?
I think you just need to call the ID like this.
onchange="ShowImagePreview(this,imagePreview )"
it works on my project .
how to make search functionality using j query from database
Thank you for job) 🙂But have problem that not working with line "fileName = fileName + DateTime.Now.ToString("yymmssfff") + extension;" in AddOrEdit method!
After coment it - working! Why?)
what's the error message?
good
worked for me. but instead of return RedirectToAction("ViewAll"); what I used is return RedirectToAction("Index");
Me too, because if i used return RedirectToAction("ViewAll"); , the pages is haven't layout (layout = null)
I too noticed that,
@@rizkysuprihadi8246 Thanks a lot man!.
Thanks
I am using Asp.net Core 2.0 MVC . I failed to show the ViewAll page inside the tab. @HTML.Action is no longer available. whats the workaround
I'm facing similar issue here. using asp-action tag helper and returning partial views, not working. but what worked me is that rendering the partial views using jquery/ajax .
replace @html.action to @html.partial