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. Image for the cookie policy date
close icon

colorpicker

My MVC form looks like this for the colorpicker:
@Html.LabelFor(model => model.color, htmlAttributes: new { @class = "control-label col-md-2" })

Choose a Color

@Html.EJS().ColorPicker("color").Render()
The returned form returns a null value for "color". How should I use the colorpicker in a CRUD form?
Regards
Pete

1 Reply

VK Vinoth Kumar Sundara Moorthy Syncfusion Team April 11, 2019 06:07 AM UTC

Hi Pete, 
 
Thank you for using Syncfusion products. 
 
We have checked your reported requirement and we would like to let you know that your requirement can be achievable by using ColorPickerFor. You can find more details about this in the below online demo link. 
 
 
For your convenience, we have prepared a sample based on your requirement and the same can be found in below link, 
 
 
Could you please check the above sample and get back to us with more information if we misunderstood your requirement or you need any further assistance on this? 
 
Regards, 
Vinoth Kumar S 


Loader.
Live Chat Icon For mobile
Up arrow icon