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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

tutorial works fine, putting in my project i see nothing.

Thread ID:

Created:

Updated:

Platform:

Replies:

151064 Jan 29,2020 05:04 PM UTC Jan 30,2020 10:06 AM UTC ASP.NET Core - EJ 2 1
loading
Tags: DatePicker
Alan Baljeu
Asked On January 29, 2020 05:04 PM UTC

I don't know what I'm missing.  I have a MVVM project style, not MVC, so under Pages I have index.cshtml, where I added:


                <div class=" control-section">
                        <div id="wrapper" class="datepicker-section">
                            <div id="datepicker-control">
                                <ejs-datepicker id="datepicker" placeholder="Choose a Date"></ejs-datepicker>
                            </div>
                        </div>
                    </div>

                <form method="post"> ....

The form comes up fine.  The date picker is not visible.

Packages:

_ViewImports.cshtml:
....
@addTagHelper "*, Syncfusion.EJ"

_Layout.cshtml:




Sureshkumar P [Syncfusion]
Replied On January 30, 2020 10:06 AM UTC

Hi Alan, 
 
Greetings from Syncfusion support. 
 
While checking the provided screenshot, you have rendered the EJ2 DatePicker component but installed the EJ1 Core NuGet packages and imports the tag helper o for EJ1 DatePicker component.  
 
So, If you want to render the Syncfusion EJ2 DatePicker component, you need to install the “Syncfusion.EJ2.AspNet.Core“ NuGet package and imports the tag helper “@addTagHelper *, Syncfusion.EJ2“ to render Syncfusion EJ2 ASP Net Core components. 
 
Screenshot:  
 
 
 
Please find the UG link from below. 
 
UG Link:  
 
Else, if you want to render the Syncfusion EJ 1 DatePicker component means, please make use of the below code as showcased in below UG documentation. 
 
<ej-date-picker id="startDate" value="DateTime.Now" html-attributes="htmlAttr"></ej-date-picker>  
 
Still issue persists, please revert us with issue reproducing sample and whether you want to use EJ1 or EJ2 component that will help us to check and proceed further at our end. 
 
Regards, 
Sureshkumar P 


CONFIRMATION

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

Live Chat Icon For mobile
Live Chat Icon