Hello Matt,
You should wrap the JavaScript command of the custom button in:
if
(
typeof
($telerik) !=
"undefined"
) {
//put the command declaration here
}
or
if
(
typeof
(RadEditorCommandList) !=
"undefined"
)
{
Telerik.Web.UI.Editor.CommandList["CustomButton"] = function(commandName, editor, args)
{
};
}
Greetings,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their
blog feed now