Can you please help me? System.InvalidOperationException: 'The model item passed into the dictionary is of type 'System.Collections.Generic.List`1[SipencWeb.Entity.Hotel]', but this dictionary requires a model item of type 'SipencWeb.Models.DatePickerModel'.' ?
I try to add that datepicker to another yours project :th-cam.com/video/_qIYBgWTlTo/w-d-xo.html with this form group : @Html.LabelFor(model => model.Age, new { @class = "control-label" }) @Html.EditorFor(model => model.Age, new { htmlAttributes = new { @class = "example form-control" } }) @section script{
$(function () { $(".example").datepicker(); }); } But doesnt work i spend a few hours but with no luck please help me
goo.gl/bPcyXW : Buy me a Coffee
bit.ly/36IA1cH : AspNet Core MVC CRUD Operations
bit.ly/3Pn2S7y : Expense Tracker App in AspNet Core MVC
bit.ly/2yEPlpB : Convert MVC App to Single Page(jQuery Ajax)
bit.ly/403lUVC : MVC Login & User Registration
bit.ly/39B6xdh : Image Upload in AspNet Core MVC
bit.ly/30fPDMg : More MVC Tutorials
This was the most helpful video I have found on how to create a date picker. I appreciate you starting from the beginning.
Thanks for your kind words.
Thank you sir
your tutorial is helpful👍
God Bless You.😊
Thank you for this tutorial. Thumbs Up!
Mejor, imposible!
Muchas gracias.
tks u very much, it's very usefull for me in study
Thank you, this is the most helpful video for me.
Nice tutorial, thanks, man!
Thank you for making this tutorial it has really helped.
Thank you for the tutorial, very clear and helpful presentation
You did it much more easy to understand. 😍😍
thanks for the comment.
Awesome, thanks!
thankyou sir you save my life
Thank you so much .. This video is very helpful
You're welcome 😊
Very nice and clear explanation bro 😘
I am glad you found the video helpful.
Nice sir thanks very much
5 stars for video tutorial. Thanks.
Glad you found the video helpful.
thanks you helped me a lot
how to set default date in date time picker text box, while page load?
when i call function of class datepicker , the method datepicker didn't appear ? Why ?
YOu need to use Jquery before
write the code under the jquery link tag and it will work
Nice tutorial but how can we select todays date automatically when the page is rendered ? than you.
Thanks a lot man.
Can you please help me?
System.InvalidOperationException: 'The model item passed into the dictionary is of type 'System.Collections.Generic.List`1[SipencWeb.Entity.Hotel]', but this dictionary requires a model item of type 'SipencWeb.Models.DatePickerModel'.' ?
Great job.. Thanks but what about if I need to use my country ar-SA calendar
Ty man i love your video
Glad you enjoyed!
hi how can we add globalization on this datepicker
how can i use this code with EditorForModel().?
Hi! I need thus type of calender in my project this vedio is very helpful for mee great so nice to you.
Glad you found the video helpful.
@@CodAffection can we change the color of the calendar???
Sir plz give me the font awesome link which u r using in this video
Thanks!! Nice job!!
Can u please tell me how to select time?
I alway get Uncaught TypeError: $(...).datepicker is not a function what i'm I doing wrong?
thanks, that was helpful!
thanks, very helpful!
you are welcome.
i was using mvc version 5.2.7 in my project i downgraded to 5.1.1 it messed up my project. so i couldn't do it but thanks anyway.
excelent
Me daño el proyecteison
thanks to much
I try to add that datepicker to another yours project :th-cam.com/video/_qIYBgWTlTo/w-d-xo.html
with this form group :
@Html.LabelFor(model => model.Age, new { @class = "control-label" })
@Html.EditorFor(model => model.Age, new { htmlAttributes = new { @class = "example form-control" } })
@section script{
$(function () {
$(".example").datepicker();
});
}
But doesnt work i spend a few hours but with no luck please help me
Thank you for making this tutorial it has really helped.
So helpful!! Tysm!