Dialogs after Button Click

4 posts, 1 answers
  1. Jim
    Jim avatar
    17 posts
    Member since:
    Apr 2018

    Posted 02 May 2018 Link to this post

    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?

  2. Jim
    Jim avatar
    17 posts
    Member since:
    Apr 2018

    Posted 02 May 2018 in reply to Jim Link to this post

    I forgot to add that this is for a custom button on the RadEditor.
  3. Answer
    Rumen
    Admin
    Rumen avatar
    14105 posts

    Posted 02 May 2018 Link to this post

    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.
  4. Jim
    Jim avatar
    17 posts
    Member since:
    Apr 2018

    Posted 02 May 2018 in reply to Rumen Link to this post

    Perfect, this is exactly what I need.
Back to Top