ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Grid and parameter DateTime
Title:
B
I
{code}
?
If i set .Parameter("datestartabs", Model.StartDateAbs) for grid, where Model.StartDateAbs is type of DateTime?, the post parameter is datestartabs:/Date(1403377200000)/ and in controller parameter datestartabs is null. if I set .Parent for this parameter the post is datestartabs:24.06.2014 and in controller datestartabs is good. Why? I need .Parameter
Save Changes
Cancel
yura
asked at 23 Jun 2014
that is the js represantation of datetime, try setting Model.StartDateAbs.ToString() instead
at 23 Jun 2014
Omu
It's work, thank you!
at 23 Jun 2014
yura
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK