Skip to main content

All Questions

0 votes
1 answer
571 views

Using jQuery datepicker in asp.net mvc validation error in Edge Browser

I am using jquery datepicker validator to validate text inputs. The problem I have is, if I click submit it displays all error message correctly. However, on the datepicker input, the text input on ...
Iter Lsic Iealf's user avatar
0 votes
2 answers
1k views

Using jQuery datepicker in asp.net mvc default value is not null

I want to add Jquery date picker to Form using asp.net mvc. I get the datepicker but in the Form I have as default this value And I want a date calendar to be spanish language instead of Please help ...
Iter Lsic Iealf's user avatar
0 votes
3 answers
131 views

jQuery UI dateFormat not changing format

I have a datepicker that I want to apply a custom format to but it does not work. $(function () { $('.datepicker').datepicker({ dateFormat: "dd-mm-yy" }); }) But the custom format ...
Maja Okholm's user avatar
  • 3,287
0 votes
2 answers
3k views

ASP.NET MVC : DateTime is taking format as MM/dd/yyyy but I need in dd/mm/yyyy [duplicate]

public class Employee { [DataType(DataType.Date)] public DateTime DateOfRegistration { get; set; } } My .cshtml: @Html.EditorFor(model => model.DateOfRegistration, ...
user avatar
0 votes
1 answer
73 views

jQuery UI : Problem with datepicker on smartphones

I created a web site in ASP.NET Core MVC, using bootstrap and jquery-ui. The site works well in a desktop. However in a smartphone, when I want to pick a date with jquery-ui datepicker, the calendar ...
JDias's user avatar
  • 136
0 votes
0 answers
518 views

ASP.Net MVC date validation always saying "field must be a number" (???)

I have a very simple model with a field declared as follows: public DateTime BirthDate { get; set; } The field has no custom validation, or any attributes besides Display. Now, I generate an editor ...
uKER's user avatar
  • 3
0 votes
1 answer
164 views

MVC Change dateformat in index view

i have an indexView with a column named Month with "day-m-y time", and i want to display it just the Month and year name. Dateformat how can i do it? ive tried dataannotations but doesn not work.. ...
Pedro Santos's user avatar
4 votes
2 answers
2k views

Problem in using jQuery datepicker in asp.net mvc

I want to add Jquery date picker to TimeofCreation Form. I can't get the datepicker nor a select button. Please help in using date picker with jquery. I want a date calendar to be appear when user ...
Ammad Hassan's user avatar
0 votes
1 answer
172 views

Positioning datepicker button

I am developing my website using ASP.Net and jQuery. I am using a month picker control. I would like to put the button next to the input to show the date. Can anyone help me? <div class="col-lg-3"&...
Nesrine ben guirat's user avatar
0 votes
2 answers
573 views

How to use JQueryUI Datepicker when there is no model to bind the DateTime field?

I'm already using this datepicker on another view, a Create() view that receives a model then I can show the datepicker by using: <link rel="stylesheet"href="//code.jquery.com/ui/1.11.2/themes/...
JCIsola's user avatar
  • 108
0 votes
1 answer
602 views

jquery datepicker with dynamic textboxes in bootstrap Modal

i am applying jquery datepickers on dynamic controls that follow the class jq-datepicker just setup a jsfiddle example to demonstrate the issue datepicker with modal please click the link to follow ...
Waqas Ahmad's user avatar
1 vote
1 answer
181 views

Date with Sept picked as null in jQuery datepicker

The application is in ASP.NET MVC 4 wherein in View there is TextBox attached to the jQuery DatePicker to select only Month and Year combo. It is declared as: @Html.TextBox("myDate", Model.myDate....
MaxRecursion's user avatar
  • 4,883
1 vote
1 answer
12k views

How to add a Date Picker on my View on a MVC project

I am learning .NET MVC, I am having a bit of difficult on adding a Date Picker on my Views. What I am trying to do is that I want to create my Model called Person.cs: public class Person { ...
newbreaker12's user avatar
0 votes
1 answer
92 views

How to add "Customdate" as link in dropdown list and open date upon click on it?

I want to add customdate in dropdownlist and upon click on it,should open date in MVC. JQuery $("#CustomDate").datepicker({ numberOfMonths: 1, dateFormat: 'dd/mm/yy', ...
User9895's user avatar
  • 313
0 votes
1 answer
3k views

JQuery DatePicker not changing language

I am using JQuery DatePicker in my MVC project. I want to change language but not. I tried setDefaults, locale and custom month names but not working. DatePicker <script src="~/FrontEndJS/jquery-...
Developer007's user avatar

15 30 50 per page
1
2 3 4 5
8