Hi Brian,
Thanks for contacting Syncfusion support,
We have analyzed your query and we are unable to reproduce the reported issue in our end. But we suspect the issue may be caused due to the may be the Date Picker control properties are accessed in
controller page without specifying the Syncfusion JavaScript name space in a controller.
Please refer the below code example:
[controller]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Syncfusion.JavaScript;
using Syncfusion.JavaScript.Models;
using WebApplication6.Models;
namespace WebApplication6.Controllers
{
public class DatePickerController : Controller
{
public ActionResult Index()
{
Incident inc =new Incident();
inc.SampleDate = DateTime.Now;
DatePickerProperties dateobj = new DatePickerProperties();
dateobj.Width = "200px";
dateobj.DateFormat = "dd/MM/yyyy";
ViewData["dateobj"] = dateobj;
return View(inc);
}
|
We have prepared the simple sample with date picker for control. Please get the sample from below location.
Sample :
http://www.syncfusion.com/downloads/support/forum/121294/ze/WebApplication6_(3)-716941582
Please check the given sample comparing with your project and let us know if it helps. If still you are facing the problem, please reproduce the issue in given sample and revert us. So that we can check in our side and provide you with a better solution
Regards,
Sasikala Nagarajan