Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 12-02-2010
Member
 
Join Date: Feb 2010
Posts: 644
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.
Reply With Quote
  #2  
Old 12-02-2010
Member
 
Join Date: Apr 2008
Posts: 1,948
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.
Reply With Quote
  #3  
Old 12-02-2010
Member
 
Join Date: May 2008
Posts: 2,008
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.
Reply With Quote
  #4  
Old 12-02-2010
Member
 
Join Date: Apr 2008
Posts: 2,001
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>
Reply With Quote
  #5  
Old 12-02-2010
Member
 
Join Date: May 2008
Posts: 2,293
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to achieve the .NET Component in HTML editor"
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


All times are GMT +5.5. The time now is 06:23 PM.