Tutorial on table properties pop up

2 posts, 0 answers
  1. Web Services
    Web Services avatar
    243 posts
    Member since:
    Apr 2008

    Posted 20 Mar 2013 Link to this post

    I'm looking to implement a pop up on right click on a table. I want things like insert row below, delete row, etc. Do you have any tutorials on how to do this? I couldn't seem to find any.
  2. Rumen
    Rumen avatar
    14272 posts

    Posted 22 Mar 2013 Link to this post


    We do not have a tutorial for customization of the RadEditor's built-in commands, but you can attach to the OnClientCommandExecuting event, check for the InsertRowAbove and InsertRowBelow execution, launch your custom dialog and cancel the event using args.set_cancel(true) method.

    <script type="text/javascript">
        function OnClientCommandExecuting(editor, args) {
            //The command name   
            var commandName = args.get_commandName();
            //launch the pop up here if the command is InsertRowAbove or InsertRowBelow
    <telerik:RadEditor runat="server" ID="RadEditor1" OnClientCommandExecuting="OnClientCommandExecuting">

    Best regards,
    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.
Back to Top