Good Afternoon,
I'm trying to do something a bit tricky: Embed input controls within the content area.
This is a big problem in Firefox and Opera. Other browsers can handle it.
Here's what I've found:
I have tried all kinds of Mozilla extensions to no avail, including: -moz-user-modify: read-write; -moz-user-focus: normal; -moz-user-input: enabled; -moz-user-select: text.
Is there a way to get input controls working Firefox and Opera?
Here's some sample code:
    
                                I'm trying to do something a bit tricky: Embed input controls within the content area.
This is a big problem in Firefox and Opera. Other browsers can handle it.
Here's what I've found:
- Firefox and Opera: Content within <textarea> is simply not selectable or editable. Additionally, in Firefox, buttons don't fire their onclick event.
 - Internet Explorer: Clicking once selects the control. Clicking again allows you to edit or manipulate. This is acceptable.
 - WebKit: Works beautifully. Click inside a textarea to edit. Click a button to fire the onclick event. This is how I wish the rest worked.
 
I have tried all kinds of Mozilla extensions to no avail, including: -moz-user-modify: read-write; -moz-user-focus: normal; -moz-user-input: enabled; -moz-user-select: text.
Is there a way to get input controls working Firefox and Opera?
Here's some sample code:
| <%@ Page Language="C#" %> | 
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> | 
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 
| <html xmlns="http://www.w3.org/1999/xhtml"> | 
| <head id="Head1" runat="server"> | 
| <title>Untitled Page</title> | 
| </head> | 
| <body> | 
| <form id="form1" runat="server"> | 
| <asp:ScriptManager ID="ScriptManager" runat="server"></asp:ScriptManager> | 
| <telerik:RadEditor runat="server" ID="RadEditor" Width="100%" | 
| Height="350px" EditModes="Design" Enabled="true"> | 
| <Content> | 
| <p>Some text</p> | 
| <textarea rows="5" cols="40">Text area text</textarea> | 
| <input type="button" onclick="alert('button clicked');" value="Press Me" /> | 
| <input type="checkbox" /> | 
| <p>More text</p> | 
| </Content> | 
| </telerik:RadEditor> | 
| <input type="button" onclick="alert($find('<%=RadEditor.ClientID%>').get_html(true))" value="Show HTML" /> | 
| </form> | 
| </body> | 
| </html> | 
