Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%:Html.Telerik().DatePicker().Name("name")%>
- $.ajax({
- url: '<%=Url.Action("funx","Home")%>',
- data: { idd: id, dtt: datepicker },
- async: false,
- cache: false,
- type: 'POST',
- success: function (data) {
- }
- )};
- public JsonResult funx(int idd, string dtt)
- {
- DateTime dte= DateTime.ParseExact(dtt.Substring(1, 24),
- "ddd MMM d yyyy HH:mm:ss",
- CultureInfo.InvariantCulture);
- // DateTime dte = DateTime.Parse(dtt.ToString());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement