hello,
is richtext control available in asp.net.where is the control.
how tio use it

Dani AI

Generated

Short answer: ASP.NET Web Forms does not include a Windows-style RichTextBox control — that control lives in Windows Forms. As pointed out, Web Forms render HTML to the browser, so the usual solution is a browser-based WYSIWYG editor (third‑party or JS) rather than a server-side WinForms control. (learn.microsoft.com)

Several posters (for example , , ) suggested third‑party editors. Modern, actively‑maintained editors (TinyMCE, CKEditor, Quill, etc.) are the recommended path: they convert a textarea into an HTML editor in the browser and post HTML back to your page on submit, which makes them easy to wire into ASP.NET pages. If you need a server wrapper there are integration guides and NuGet/SDK packages for ASP.NET Web Forms and Core. (tiny.cloud)

For the database issue raised by : treat editor content as text, not raw binary, unless you have a strong reason to use a BLOB. For SQL Server use NVARCHAR(MAX); for Oracle use CLOB/NCLOB. Use parameterized commands (SqlParameter / OracleParameter) to send the editor string to the database (avoids SQL injection and encoding pitfalls). If you must work with Oracle LOBs, ODP.NET gives first‑class LOB support (OracleClob/OracleBlob) and is usually easier than generic OLE DB for handling CLOBs. Also sanitize or whitelist HTML on the server (OWASP guidance) before storing/returning it; in .NET a maintained sanitizer (for example HtmlSanitizer) can be used. (learn.microsoft.com)

Practical checklist: 1) pick a JS editor and confirm it writes HTML into a textarea/hidden input on submit; 2) change DB column to the appropriate text type (NVARCHAR(MAX) or CLOB); 3) write parameterized inserts/updates and choose ODP.NET if you need Oracle LOB APIs; 4) sanitize output on render to prevent XSS. That sequence resolves the common FreeTextBox/ODP vs OLEDB headaches while keeping the app secure and portable.

Recommended Answers

All 8 Replies

Hi,

[IMG]http://cutesoft.net/data/ScreenShot_version_4_0.gif[/IMG]

We have a a full-featured ASP.NET RichTextBox (CuteEditor from
CuteSoft).


If you are interested, please check the following link:


­SIWYG+Editor/


General demo:
http://cutesoft.net/example/general.aspx


DNN integration demo:


IbuySpy integration demo:


Rainbow portal integration demo:


Asp.net forums integration demo:


Regards,

Http://CuteSoft.net

RichTextBox is in the .NET Framework, but only for Windows Forms, not for Web Forms. This is because ASP.NET renders HTML, and HTML doesn't contain a RichText element.

So your answer will be to buy a 3rd party control that will likely render as an ActiveX object.

So far there is no built in control available, however there are several third party controls available. one of which is tinymce, have a look at this good sample () I read sometime back which explains its integration with asp.net.

i need a richtextbox control like the one i am typing now

create your own usercontrol or third party tools available.

create your own usercontrol or third party tools available.

i have already used free textbox control in my asp page. But still there is a problem while inserting the data in database. currently i am using OLEDB provider, but free textbox supports ODP(i.e., Oracle Data Provider). so how to save and retrieve my data using free textbox control with OLEDB provider and i am saving the content of the free textbox in a blob column.

I wish I knew the answer of Rajees.... I have the same question.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.