We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

datepicker in a partial view

Thread ID:





113874 Oct 14,2013 09:53 AM UTC Dec 11,2015 09:23 AM UTC ASP.NET MVC (Classic) 4
Tags: Grid
Eugenia Alefragi
Asked On October 14, 2013 09:53 AM UTC


I face the following problem with the datepicker
I use the code from this link (the view part only)  http://mvc.syncfusion.com/demos/ui/tools/DatePicker/throughview
in order to use a date picker in a partial view.
(I use this partial view as a template for  the dialog edit of a grid)

As a result I have a simple text box
When I use this code in a "normal" view (not partial), the datepicker works perfectly.

Thank you for your help.

Eugenia Alefragi
Replied On October 15, 2013 10:25 AM UTC

I would like to add a clarification to my previous post

The problem I have is that in the partial view the date picker appears as a text box and while editting, the callendar is not displayed at all.

Sunil Prabakar C [Syncfusion]
Replied On October 17, 2013 11:00 AM UTC

Hi Eugenia,

We regret for the inconvenience caused.

In JSON mode Grid, we are unable to render the controls  while editing in  Dialog Template mode. Since scripts won’t be evaluated for controls like DatePicker. For this we need to create the controls in client side which is not available currently and We have logged “Enabling Unobtrusive for Web controls”  as a feature request in our database. We will implement this feature in any of our upcoming releases. We usually have an interval of at least three months between releases. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity. We will update you when this feature has been implemented.

Note : The support for controls in Dialog template while  editing was available in Server mode Grid. So we suggest you to use the Server mode Grid for this requirement.


Sunil Prabakar C

Replied On December 9, 2015 10:22 AM UTC

What was the solution here?

Kavitha Narayanan [Syncfusion]
Replied On December 11, 2015 09:23 AM UTC

Hi Fanisa,

We considered this “Enabling Unobtrusive for Web controls” as a feature request and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.



Kavitha N.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon