Form Creator in Editor

3 posts, 0 answers
  1. ashish
    ashish avatar
    3 posts
    Member since:
    Jul 2008

    Posted 01 Dec 2011 Link to this post

    Hello,

    In HTML editor, there is an option to insert Form, Insert Drop down, Insert check box, Insert Radio button, etc.

    For Inserted Form, it shows different properties in bottom area, but I haven't found such properties for other controls like "Drop down", "Radio button", "button", etc..

    Is such feature supported in Telerik 's HTML Editor?

    We want to allow our users to add Dropdowns, Radiobuttons, etc and they can directly add the options through properties.

    Please let us know, if such thing is possible with Telerik 's HTML Editor?

    Thanks in Advance,
    Ashish Shukla
  2. Rumen
    Admin
    Rumen avatar
    14462 posts

    Posted 05 Dec 2011 Link to this post

    Hello Ashish,

    The Firefox rich text editing engine of Firefox, does not allow to select radio, check box and select elements in an editable iframe as the content area of RadEditor and for this reason we do not offer the ability to modify the properties of these elements in Firefox.

    You can edit the properties of the radio and checkbox elements in IE.
    RadEditor does not offer the requested feature to edit the select elements out-of-the box, but you can implement them using custom dialogs. For your convenience I have attached an example demonstrating how to edit, add or remove select element items from a custom dialog.

    Greetings,
    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
  3. ashish
    ashish avatar
    3 posts
    Member since:
    Jul 2008

    Posted 06 Dec 2011 Link to this post

    Hi Rumen,

    Thanks for the quick reply.

    I was able to run the attached example in IE.
    In firefox I renamed some instance of "NameDropDown" and "ValueDropDown" to "nameDropDown" and "valueDropdown".

    I kept "NameDropDown" and "ValueDropDown" for Control Id and
       var nameDropDown = document.getElementById("NameDropDown");
        var valueDropDown = document.getElementById("ValueDropDown");

    For other, i changed it to "nameDropDown" and "valueDropDown".

    After that, the given example worked in Firefox also.

    Thanks and Regards,
    Ashish Shukla


     
Back to Top