Skip to main content
A newer version of this page is available. .

How to: Implement a popup window from which users can select templates

  • 5 minutes to read

In this example, a user opens the popup window to select a template from the predefined list of text templates. ASPxHtmlEditor inserts the selected template at the beginning of its text. The example uses the client-side GetSelectedItems method to get the selected item’s text.

See Also:

ASPxHTMLEditorDemos: Client-Side Functionality

How to show the ASPxPopupControl

View Example

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace InsertTemplateText {
    public partial class _Default : System.Web.UI.Page {
        protected void Page_Load(object sender, EventArgs e) {

        }
    }
}