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

Support for ASP

1 Answer 16 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Gaurav Saxena
Top achievements
Rank 1
Gaurav Saxena asked on 20 May 2010, 06:52 AM
Hi,

I have used your product and its working great. I have added support for javascript. But please suggest me how to add support for asp code. If somebody wants to put asp code, please help me. I have tried putting AllowScripts="True" and its working for javascript, however
for asp, i am looking at actual code and not content on website !!

Thanks a ton,

Regards,

Gaurav Saxena

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 20 May 2010, 01:15 PM
Hi Gaurav,

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 and ASP.NET server 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 and your scenario is not supported.

Regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
Gaurav Saxena
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or