Insert Form Element

8 posts, 0 answers
  1. Jaakko Toppari
    Jaakko Toppari avatar
    3 posts
    Member since:
    Mar 2010

    Posted 27 Jan 2012 Link to this post

    Hi! Is it possible to customize default action field of insert form? I would like to add default actions so that it would send email when submitted. I just can't find any proper documentation or the code for doing this.. Thanks for your help!

    - Jaakko
  2. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 27 Jan 2012 Link to this post

    Hello,

    RadEditor is used for editing and creating HTML content and you can think of the editor as an advanced TextBox control. The editor control allows you to insert form HTML fields and to specify an action for a form (see the attached screenshot) and this is all the editor is supposed to do. If you would like to use the editor's content in another page, in a new user control or in a new web form, you should use your custom logic to do so as this is outside the editor's domain. You should use some IDE such as Visual Studio and write server code and create pages.

    If you would like you can change the content inserted via the InsertFormElement dropdown using the OnClientPasteHtml event of RadEditor.

    Kind regards,
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jaakko Toppari
    Jaakko Toppari avatar
    3 posts
    Member since:
    Mar 2010

    Posted 31 Jan 2012 Link to this post

    Thanks! That helped me to move on, but now I would like to hide few fields etc. Classname field and add a new checkbox field After I have inserted some of the form elements from the dropdown. Is this possible? I attached image to show you what I mean.
  5. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 31 Jan 2012 Link to this post

    Hi,

    You can see the following forum thread on the subject: Edit html div attributes in design mode.
    There isn't an easy way to add a checkbox to the built-in dropdown and if this is a mandatory requirement it is better to implement your own custom module.

    Note that this is a customization and we do not support it.

    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
  6. Raaz
    Raaz avatar
    11 posts
    Member since:
    Jan 2013

    Posted 29 Jan 2013 Link to this post

    Hello,
                I want to know that about Radeditor, Can we save the value of Form Control's Value in database.

    For Example- I have took the Text Box in RadEditor and fill some text in text box, And when i have take the html of this RadEditor it's look like as -

    <span><input style="width: 100px; height: 22px;" type="text"></span> But i need the Value of this text box -

    <span><input style="width: 100px; height: 22px;" type="text" value="RAJKS"></span> Please let me know is it possible because i have save same string in database.
  7. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 29 Jan 2013 Link to this post

    Hello,

    This is an IE9 behavior to not save the value of the edited textbox. The only workaround that I could propose for fixing this issue is to render the page in IE8 mode using the following tag:

    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />

    In Firefox the user is not allowed by the browser to type in the textbox elements.

    Kind regards,
    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.
  8. Raaz
    Raaz avatar
    11 posts
    Member since:
    Jan 2013

    Posted 20 Feb 2013 Link to this post

    hi Rumen

    Its working fine through browser compatibility code <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    but we are facing issues when we used it ,We cann't delete text from textbox 

    Because when we use delete text box through backspace and delete key its totally deleted textbox insted of delete text from textbox..
    but its should not happen.

    we are not finding any solutions please help us...  
  9. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 22 Feb 2013 Link to this post

    Hello,

    You have found a bug, which I logged for fixing in our bug tracking system. I also updated your Telerik points.

    I noticed that if you select the text and delete it, the textbox is not deleted.

    The bug reported in your earlier post is logged with high priority and if possible we will fix it during the service packs following the Q1 2013 release.

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017