Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Customizing the Looks of Buttons in HTMLEditor Control

$
0
0

Hi,

I am overriding the "FillTopToolbar" method to add selective buttons to the TopToolbar. 

I wish to change the active and normal image of the Bold button. 

something like this 

var boldButton = new AjaxControlToolkit.HTMLEditor.ToolbarButton.Bold();
			boldButton.NormalSrc = "../assets/img/bold.png";
			TopToolbar.Buttons.Add(boldButton);

This doesnt seem to affect the output HTML. The HTML Editor still loads with its own image source for ImageButtons.

Any idea how to do this ?

Cheers,

Nachiket


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>