RadControls version 2011 |
|
.NET version 4.0
|
|
Visual Studio version Visual Studio 2010 SP1 |
|
programming language C# |
|
browser support |
all browsers supported by RadControls
|
PROJECT DESCRIPTION
Dear All,
We are developing an email kind of application where we need to fire the spell checker when the mail is saved or send out automatically (We allow mail composing on Richtext (Radeditor) and plain text (textarea) modes). On RadEditor the Ajax spell fires with the buttons to Finish spell checking (skip the process and continue with save/ send) and Cancel (which can be canceling the whole process). However when changed to the plain text mode, we use RadSpell for handling the spelling check where we have the issue. As you know the spell checker dialogue has only one close button (which act as canceling the whole process) where our requirement is to provide the user to skip the spell checking and continue with the mail sending process or cancel the whole process. This is very well possible in the AJAX spell checking whereas not possible in RadSpell dialogue as there is only one button.
Resolution
With the help from Telerik support team we were able to resolve this by using the
DialogsScriptFile property. This allows loading a custom dialogue which can access and change the caption of the existing buttons and add a new button (Finish in my case) dynamically.
Please find the sample files with the code snippet attached, I hope it will be helpful for anyone with the similar requirements.