BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<div>
<div>
<div id="defaultRibbon"></div>
</div>
<input id="datepick"/>
<input id="datepick1"/>
</div>
</div>
[script]
$("#defaultRibbon").ejRibbon({
groups: [{
{
id: "datepick",
text: "DatePcker",
type: ej.Ribbon.type.custom,//Custom type
contentID: "datepick"//Input element id assigned to the ContentID
},
{
id: "datepick1",
text: "DatePicker",
type: ej.Ribbon.type.custom,
contentID:"datepick1"
}
}]
create:"createControl"// Ribbon CreateControl event.
});
function createControl(args) {
$("#datepick").ejDatePicker({width:"100%"}); // DatePicker control render here
$("#datepick1").ejDatePicker({width:"100%"});
}
For your reference, we have attached a sample.
Sample: http://www.syncfusion.com/downloads/support/forum/120811/ze/sample-2039011232.zip
Regards,
Kavitha N.
Please let us know if you have any other query.
Regards,
Kavitha N.