How to render DatePicker control by configuring Syncfusion Bower Packages?
1. Using Command Prompt
Perform the below steps to install Syncfusion Bower Package via command prompt in your web application.
Once the bower configuration is completed, the folder named called “bower_components” has been loaded into your corresponding project folder.
All the Syncfusion dependency Scripts, CSS and some of the Microsoft dependency files has been placed in the “bower_components” folder as like the below screenshot.
Now Create a basic HTML file as shown below,
Referring Scripts and CSS
In the above example we have used default theme.
The, refer the external dependent script files which is given below,
Include the above mentioned script references in the head section of your HTML page as shown below,
Add the <input> element within the <body> section, which acts as a container for ejDatePicker widget to render and then initialize the ejDatePicker widget within the script section as shown below,
Open your HTML page in the web browser and the screen will display the DatePicker widget.
For the bower installation using bower.json and for the local directory options, please follow the instruction given in the below link
And after installing bower using the steps provided in the above link, you can refer the Scripts and CSS as like mentioned in above example.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|