All Questions
Tagged with jquery-ui-datepicker asp.net-mvc-3
26 questions
3
votes
1
answer
9k
views
DataFormatString for DateTime
I'm trying to apply a format in a DateTime attribute but it is not working. I have this:
[DataType(DataType.Date)]
[DisplayFormat(DataFormatString = "dd/MM/yyyy", ApplyFormatInEditMode = true)]
...
2
votes
1
answer
3k
views
Restrict Date Range in jQuery DatePicker in MVC3 Razor
I am currently working on jQuery date picker where I want to restrict the user to select the date from 1st of every month to 28th of every month.
The remaining dates after 28th would not be ...
0
votes
1
answer
355
views
jquery datepicker is not working in asp.net mvc3
the jquery datepicker is not working. I don't know why. Everyone is doing the same thing, same code, but mine is not working. Can anybody tell where is my problem, my code is given below --
...
1
vote
2
answers
385
views
How to get JS field value and use it in Controller Code behind MVC4 / JQuery
I am using ASP.Net MVC4 , with Jquery UI date picker to deal with date field
I wonder to know how can I use the variables in the code .
@Html.ActionLink("Create New", "Create")
<script>
...
1
vote
3
answers
888
views
Datepicker issue when implementing in mvc3?
Using Mvc3 razor.
I tried to implement the Jquery data picker with an inputbox on my form, I am getting this exception "Microsoft JScript runtime error: Unable to set value of the property 'currentDay'...
4
votes
2
answers
5k
views
Why does jQueryUI datepicker swap day and month on page reload?
I have an MVC3 application where one of the pages has a jQuery datepicker:
<script>
$(function () {
$("#expirationDate").datepicker();
$("#expirationDate").datepicker("...
1
vote
1
answer
5k
views
Microsoft JScript runtime error: Out of stack space in date.js
I just dont get it why i get this Microsoft JScript runtime error: Out of stack space in my date.js file....
return format?format.replace(/dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?/g,function(...
0
votes
2
answers
538
views
Datepicker date format on server
I have a probleme with date picker I have already created controllers with read/write actions and views using EF everything was OK
Till I have need to create a controller with a modelView so I chosed ...
1
vote
3
answers
3k
views
Datetime binding from Jquery datepicker to MVC problems
we use the JQuery UI Datepicker.
When i enter the date in this format: 9/22/2012 asp.net MVC says it is not in a valid format.
When i look at the viewmodel which is filled via the binding, it says ...
0
votes
1
answer
385
views
jQuery datepicker doesn't work in Modal MVC 3
DatePicker works around the project, but does not work in a modal. The Modal is a partial View.
This in a editor template.
DateTime.cshtml
@model System.DateTime?
@Html.TextBox("", ViewData....
11
votes
3
answers
41k
views
How to get a datepicker for Html.Editorfor
On my MVC3 razor page I have a date field
@Html.EditorFor(model => model.Member.Dob)
Given below is the code I am trying to get a datepicker for the Date of Birth field.
<script src="@Url....
5
votes
1
answer
3k
views
Day and month are being swapped on date property when saving entity on production server
I'm running into an issue on a clients production server where the month & day is being swapped on a view model property when saving an entity. For example if I were to select April 9th 2012 (04/...
1
vote
2
answers
3k
views
KnockoutJS date binding issue, using jQuery datepicker
I am having a problem with binding a date to the object on my viewmodel. I have a date that I am getting from the server.
var viewModel = {
profile : ko.mapping.fromJS(initialData),
I am binding ...
3
votes
1
answer
6k
views
Datepicker within a select dropdown
I'm wondering if the following may be possible using something like jQuery. I've looked all over but haven't found a solution.
I am using MVC 3/razor for my project. I have jQuery 1.5.1.
We want a ...
7
votes
3
answers
9k
views
jQuery datepicker's dateFormat - how to integrate with .NET current culture DateTimeFormat
I'm using jQuery's datepicker plugin in .NET ASP MVC3 intranet application. User that use application have offices in different countries and different locale. This is why I wanted to integrate Thread....