Date picker & text box

Posted by Kums_Gowda86 under ASP.NET on 1/5/2015 | Points: 10 | Views : 343 | Status : [Member] | Replies : 2
I Have date picker & text box. Text box is populated with current date n further date selection is disabled in date picker.
When web app is deployed in server, text box shows server date, but date picker picks client machine date as max date.
How to set date picker max date to server date.




Responses

Posted by: Ndebata on: 1/6/2015 [Member] Starter | Points: 25

Up
0
Down
You can make a simple service call or database call (in case you want to use db server time) and use it.

Thanks,
Narayan

Kums_Gowda86, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Joginder on: 1/6/2015 [Member] Starter | Points: 25

Up
0
Down
try this link for more information about new max date http://stackoverflow.com/questions/13334301/set-the-datepicker-mindate-with-the-server-date

Kums_Gowda86, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response