3 Answers, 1 is accepted
0
Hi Christian,
RadEditor is a client-side browser tool, providing the ability to visually edit pure HTML text using the underlying Rich Text Editing engine of the browser. This browser engine supports only standard HTML/XHTML tags and plain text.
Please, note that if you put a server tag in RadEditor the editor will not strip the tag, but will not render it in Design mode.
The ASP.NET tags are not HTML tags and the browser is not able to visualize them. The browser cannot visualize XML Tags and when you put <asp:button> in the editor, the server-side framework will not parse the content (as it is part of the editor, not part of the page).
So, instead of sending to the client the HTML tag <input type=button> it will send <asp:button> - which means nothing to the browser.
To understand the situation better, please create a new HTML page with extension .html and add your server tags conent you put to the browser and load it in the browser.
RadEditor is more similar to a desktop HTML editor rather than to an integrated program like MS Word, FrontPage or Visual Studio for web.
Greetings,
Rumen
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
RadEditor is a client-side browser tool, providing the ability to visually edit pure HTML text using the underlying Rich Text Editing engine of the browser. This browser engine supports only standard HTML/XHTML tags and plain text.
Please, note that if you put a server tag in RadEditor the editor will not strip the tag, but will not render it in Design mode.
The ASP.NET tags are not HTML tags and the browser is not able to visualize them. The browser cannot visualize XML Tags and when you put <asp:button> in the editor, the server-side framework will not parse the content (as it is part of the editor, not part of the page).
So, instead of sending to the client the HTML tag <input type=button> it will send <asp:button> - which means nothing to the browser.
To understand the situation better, please create a new HTML page with extension .html and add your server tags conent you put to the browser and load it in the browser.
RadEditor is more similar to a desktop HTML editor rather than to an integrated program like MS Word, FrontPage or Visual Studio for web.
Greetings,
Rumen
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
CSurieux
Top achievements
Rank 2
answered on 05 Feb 2010, 05:47 PM
Hello Rumen,
Thank you for answer.
But I know this, working with.net since many years.
My idea was more in the domain of the plugins supported by the editor, and may be there has been some pluging able to translate something as <Tabs><tab>My 1st TAB</tab><tab>My 2nd TAB</tab></Tabs> and content also.
Or directly able to translate an asp.net tag <telerik:RadTabStrip>.....</telerik:RadTabStrip> on the PeRender of the editor with something as ParseControl(myTagsStr).
Regards
CS
Thank you for answer.
But I know this, working with.net since many years.
My idea was more in the domain of the plugins supported by the editor, and may be there has been some pluging able to translate something as <Tabs><tab>My 1st TAB</tab><tab>My 2nd TAB</tab></Tabs> and content also.
Or directly able to translate an asp.net tag <telerik:RadTabStrip>.....</telerik:RadTabStrip> on the PeRender of the editor with something as ParseControl(myTagsStr).
Regards
CS
0
Hi Christian,
In theory it is possible to implement such functionality but it will be extremely hard due to the multiple side effects such as:
- the Telerik controls require a <asp:ScriptManager> to register and execute their scripts. However by design and by default the scripts are not executed in the editor's content area
- the editor attaches its code to the onclick event of all elements in the content area to make them disabled. This will make the tabstrip control unusable, because the user will be unable to switch to another tab.
- additional unknown side effects could occur.
That is why we do not plan to implement such functionality that will generate multiple problems, cross browser issue and bug reports.
Best regards,
Rumen
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
In theory it is possible to implement such functionality but it will be extremely hard due to the multiple side effects such as:
- the Telerik controls require a <asp:ScriptManager> to register and execute their scripts. However by design and by default the scripts are not executed in the editor's content area
- the editor attaches its code to the onclick event of all elements in the content area to make them disabled. This will make the tabstrip control unusable, because the user will be unable to switch to another tab.
- additional unknown side effects could occur.
That is why we do not plan to implement such functionality that will generate multiple problems, cross browser issue and bug reports.
Best regards,
Rumen
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.