This is a migrated thread and some comments may be shown as answers.

Getting values from popup via hot keys into RadEditor

3 Answers 72 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Raka
Top achievements
Rank 1
Raka asked on 17 Feb 2012, 09:36 PM
Hi

We want to write a tool in two parts --
1) a popup that will have several rows of 2 associated pieces of information
for ex -  'AAA', 'S1'
             'BBB', 'S2' etc.
Each row needs to be associated with a hot key.


2) the main page is the RadEditor
Here when we type, we want to be able to pick up 'AAA' via its associated hot key.  When we click a button 'Replace', it will replace 'AAA' with 'S1'.

Are there any tools in Telerik available at this point that can be useful for this purpose?  We also need a auto-complete textbox.

Thanks

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 22 Feb 2012, 12:01 PM
Hi,

RadEditor does not offer such functionality out-of-the box and it is not part of the advertised features of the control.

Perhaps the best way is to implement your scenario as a separate solution using an editable DIV element
<div contenteditable="true" style="width:300px;height:300px;border: 1px solid red;">AAA BBB</div>

as the editor and a standard browser window.open dialog. If you are able to implement a fully functional solution using a standard editable DIV and a browser dialog, we will help you to replace the DIV with RadEditor.

All the best,
Rumen
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Raka
Top achievements
Rank 1
answered on 22 Feb 2012, 01:36 PM
Ok, thanks.
Using your other suggestion elsewhere, I managed to create a RadComboBox inside RadEditor tool area.  My problem is how to associate a column value with a hot key.  If the combox box has ['AAA', 'F1'], ['BBB','F2'] rows, and they click 'F2', I want it to autopopulate the editor with 'BBB'.  This can be done with EditorTools but how does one do it with EditorDropDown or RadComboBox?

Thanks, Sandhia
0
Rumen
Telerik team
answered on 27 Feb 2012, 10:04 AM
Hello,

RadComboBox does not offer the requested item shortcut functionality out-of-the box and it is not possible to assign a different shortcut to each item in the combo. This feature is also not supported by the custom dropdowns of RadEditor.

To achieve your requirement you could implement a custom toolstrip and assign shortcuts to the different tools in it. Every toolstrip item will execute a different command.

All the best,
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.
Tags
Editor
Asked by
Raka
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Raka
Top achievements
Rank 1
Share this question
or