This is a migrated thread and some comments may be shown as answers.

Insert Form Element

7 Answers 156 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jaakko Toppari
Top achievements
Rank 1
Jaakko Toppari asked on 27 Jan 2012, 09:51 AM
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

7 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 27 Jan 2012, 05:41 PM
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
0
Jaakko Toppari
Top achievements
Rank 1
answered on 31 Jan 2012, 02:32 PM
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.
0
Rumen
Telerik team
answered on 31 Jan 2012, 02:46 PM
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
0
Raaz
Top achievements
Rank 2
answered on 29 Jan 2013, 08:32 AM
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.
0
Rumen
Telerik team
answered on 29 Jan 2013, 06:19 PM
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.
0
Raaz
Top achievements
Rank 2
answered on 20 Feb 2013, 11:28 AM
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...  
0
Rumen
Telerik team
answered on 22 Feb 2013, 02:02 PM
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.
Tags
Editor
Asked by
Jaakko Toppari
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Jaakko Toppari
Top achievements
Rank 1
Raaz
Top achievements
Rank 2
Share this question
or