|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
How to achieve the .NET Component in HTML editor Hi all, I am using HTML editor because this editor is now mainly used JScript Technology, MS in this area a fairly complete support for example, the text is set against a bold just document.execCommand ( 'bold')), this mainly to introduce how to implement an HTML editor component but i want to know that how to achieve one. NET component. Please suggest. Thanks in advance. |
#2
| |||
| |||
How to achieve the .NET Component in HTML editor First, you need to get a HTML source code editor, online editor, many of these, such as the famous RichTextBox, DOTNET CDC's DotNetTextBox, etc., in order to avoid copyright disputes, as I have done, for example in the editor toolbar, right-clicking an empty place - "view the source code. Copy the code to save out as a. Htm file you can see the effect, is not feeling very simple made the half? Then the appropriate icon, CSS files saved in the corresponding position, or you look at the interface will be difficult, of course, you can also do it according to needs its own icon. Check and reply. ![]() |
#3
| |||
| |||
How to achieve the .NET Component in HTML editor First you can use in the VS.NET environment, generate a UltraTextBoxV1 component also known as custom controls, I used to call a component project, At this point the basic components in the finished, it compiled Dll copy of your project folder, on the toolbar - "component where to add it, you can drag and drop into your pages directly in your project used. Check and reply. |
#4
| |||
| |||
How to achieve the .NET Component in HTML editor If you want to give the editor to add some features such as uploading pictures, insert the labels, you should first give it to add an icon: Check the following code, Code: <div class="abc" TITLE="my page" LANGUAGE="javascript" onclick="UTB_InsertImg()"> <img class="Ico" src="..\images\img.gif" WIDTH="16" HEIGHT="16"> </ div> <div class="Btn" TITLE="first page" LANGUAGE="javascript" onclick="UTB_InsertExcel()"> <img class="Ico" src="..\images\iexcel.gif" WIDTH="16" HEIGHT="16"> </ div> |
#5
| |||
| |||
How to achieve the .NET Component in HTML editor As a c# developer, my first nature was to rewrite the code without the MSHTML reference using mirror image to perform the late binding. However, I rapidly found it was rotating out to be a attractive ugly coding experience, with quite a lot of nested GetMethod and InvokeMember calls. So I have no idea. Best of luck. |
![]() |
|
Tags: html, html editor, net, net component |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is the HTML editor? | Dexter85 | Software Development | 5 | 22-10-2010 08:10 AM |
Best free html editor | unknown212 | Software Development | 5 | 07-10-2010 10:57 PM |
What is the approach component HTML in Silverlight? | Fragant | Windows Software | 5 | 06-08-2010 11:19 PM |
Download HTML Editor! | Swetlano | Software Development | 2 | 09-02-2009 07:10 PM |