BoldDeskPremium customer service software with affordable pricing: $10 for 3 agents. Try it for free.
Hi lc,
Thanks for using Syncfusion products.
In RTE Control, we
provide the colorpalette option to pick the color for font and also background.
We have prepared the sample for RTE Control with colorpalette option. Please
find the sample from the below location.In the given example we enabled the Color palette option.
RTE SAMPLE WITH COLORPALETTE OPTION
Also, we need to clarify that whether the given response meets your requirement or we misunderstood, if so could please provide more details about the requirement and it will be easy for us to provide the exact solution.
Please let us know if you have any concerns.
Regards,
Sasikala Nagarajan
Hi lc,
Thanks for the update.
Query: Unfortunately i have some issues with the references to syncfision.ej and syncfusion.ej.mvc. these seem to be missing in our version of syncfusion. We are using Essential Studio 11.4.0.26
We would like to let you know that, we have marked the previous ASP.NET MVC controls (i.e., ASP.NET MVC components before 12.1.0.43 version) as ASP.NET MVC (Classic) components. Now we have provided newer set of controls powered by Essential JavaScript as ASP.NET MVC Controls from 12.1.0.43 version. The newer version provides several advantages over classic edition including purely client side rendered HTML5/JavaScript controls, offers better performance and provides better support for touch interactivity.
While installing ASP.NET MVC (newer version) the above mentioned assemblies (Syncfusion.EJ and Syncfusion.EJ.MVC) will be installed in your GAC location, if you check the option “Register Syncfusion assemblies in GAC”. Otherwise you can get these assemblies from the location where Syncfusion Essential studio has been installed. It will be available in the folder “precompiledassemblies”. You can access this folder by navigating as follows,
[Installed Drive:] - > Syncfusion -> Essential Studio -> 12.1.0.43 -> precompiledassemblies.
Please refer our online link for more details about getting started with ASP.NET MVC controls,
http://help.syncfusion.com/ug/js/default.htm#!Documents/createusingprojectte.htm
Please let us know if you have further queries.
Regards,
HariKrishnan.
<script>
function onRender(args)
{
var ddl = $("#Colorpicker");
var ddltarget = $("<input id='color'></div>");
ddl.append(ddltarget);
$("#color").ejColorPicker({ value: "#278787",select: "onselect" });
}
function onselect(args)
{
var rte = $("#rteSample").data("ejRTE");
rte.executeCommand("foreColor", args.value);
}
</script>
Based on your requirement we have prepared a sample .You can download the sample from the below location:
http://www.syncfusion.com/downloads/support/forum/116590/ze/MvcApplication1796228280
Please find the API documentation link for the select event:
http://help.syncfusion.com/js/api/ejcolorpicker#events:select
Also we are having an online documention for custom tool option and it can be found under the following link.
http://help.syncfusion.com/aspnetmvc/richtexteditor/toolbar-support#customized-tools-option
Please let us know if you have further concern.
Regards,
Arun P