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

Dialogs after Button Click

3 Answers 176 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 02 May 2018, 01:32 PM

Hi,

I need to have a dialog pop up after a custom button is clicked to gather further information for the insertion of the element.

For example, I need to have a click on the (custom) insert radio-button pop up a dialog asking the name and the text for the radio button and then insert the radio button with the collected information.

Is there any way to do this?

3 Answers, 1 is accepted

Sort by
0
Jim
Top achievements
Rank 1
answered on 02 May 2018, 01:37 PM
I forgot to add that this is for a custom button on the RadEditor.
0
Accepted
Rumen
Telerik team
answered on 02 May 2018, 02:59 PM
Hi Jim,

The Custom Dialog article explains how to pass information from the custom dialog to the content area of RadEditor and vice versa using the dialog callback function. You can see the solution in action in the Add custom Dialog demo. It is the first toolbar button, which opens the custom hyperlink dialog. You can replace the inputs with checkboxes and implement your specific scenario.

Kind regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Jim
Top achievements
Rank 1
answered on 02 May 2018, 03:37 PM
Perfect, this is exactly what I need.
Tags
Editor
Asked by
Jim
Top achievements
Rank 1
Answers by
Jim
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or