i need to use a ediotr in my asp.net web application which has few additional featuresi have checked with almos all online editors avaliable . one of them has the features i need but its not a free editori need to make such a editor for using in my application.
i want to make a notepad like editor in my asp.net using c#. i am using a note pad and some buttons to create coding for cut copy paste bold italics etc...
i dont want to have a menubar for that.
i want to create a small replying form as you are seeing it while replying to me.
i want exactly the same format.
want a toolbar on the top and a message body below. where we can type as i am currently doing. and can edit any formatting through that toolbar as it is here just above this message space.
Ive downloaded AspNetAjaxLibraryBeta0911 and have added both System.Web.Ajax.dll and AjaxControlToolkit.dll from the webforms/debug folder to my [ASP.NET web app] project. I have also added the latter dll to my toolbox. Ive dragged a ToolkitScriptManager onto my aspx page too, and it has created these two reference:
Is that right so far? Now I want to have a custom HTMLEditor, so I created a new folder "App_Code" and created a class calles CustomEditor.cs which has this content:
using AjaxControlToolkit.HTMLEditor; namespace TestProj.App_Code { public class CustomEditor : Editor { protected override void FillTopToolbar() { TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Bold()); TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Italic()); TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Underline()); } }
and then I added this to the aspx page:
<%@ Register namespace="TestProj.App_Code" tagprefix="custom" %> and <custom:CustomEditor ID="editorMsg" runat="server" />
Firstly, it works. But I have a few problems.
1) In CustomEditor.cs there is no intellisense, and pressing Ctrl + Space bring up no things like "TopToolbar" etc.
2) In the aspx page's designer code I had to add this manually: protected global::AjaxControlToolkit.HTMLEditor.Editor editorMsg; else it wouldnt come up in my code behind. Why isnt it automatically doing that? And is that correct?
3) No matter what I do I cannot make the editor's height smaller than 200px. I set it both inline and in code behind but it still overflows its container and goes to 200. I can however make it more than 200 and also width is fine. Heres a screenshot: [URL]
I am building an asp.net site in which I need to have editor text boxes in different forms. I am planning to buy cute editor license but just want to check whether there are any alternatives available in open source.
i need to create a html editor for use to every page to update the web page content. By right, the html editor only can seen by administrator. So , i should create a custom web part/user control to update different table of database or create a custom editor zone better? how can we do it just like the share point html editor web part?
I have an Editor control on my page and the user can go in use it hit save and that all works.
In another part of the page I have a simple dropdown to select a note and view it. When you push view it loads the text which was entered in via the editor control.
If the user used an order or unordered list. The text shows up but not the list part.
So if they did this:
Example ThisAnd this
What is displaying is
Example This And This
Without the bullets. Same for the numbers.
I have it going to a literal control which should render the html, but it doesn't.
I'm currently using a WYSIWYG editor , what I'm wanting to do is give the admin the ability to drag or add asp.net button or label to the editable area, unfortunately when I try to add say a button or asp.net label at present the WYSIWYG editor sees it as html text and not as an asp.net control. Does anyone know how to get around this or if there is an existing WYSIWYG editor that allows asp.net control to be added to the editable area?
I want my Website to have one Editor Contorl to post articles and stuff...
Whice is the best contol to use ...
Editor control are some thing which converts the user actions into HTML like the contorl which have bold,italic and underline and some link insertion...
I have tinymce .net control on my .net webform and the basic setup works a treat. My code behind can see the html generated my tinymce via the TextArea1.Value property. However as soon as I set the mode to textareas the value is suddenly always empty! The problem is that if the mode is not set to textareas the tinymce editor is only in simple mode and does not offer all the features.
I use the option for creating text as Hyperlink in that editor.The problem I am facing now is when I try to display that hyperlink text on my asp:TextBox in multiline mode, it is not displayed as a Hyperlink. It is displayed as plain text. I got a reply from Telerik that I cannot display text as hyperlink in my asp:Text box. Do anyone know is there any other controls in ASP.NET or Telerik to display text as Hyperlink
My objective is to take the whole content of the RAD editor and display that on a asp:TextBox control (in multiline mode) and when the user clicks on a Hyperlink(If any), open that link in another window.
I am using FCK Editor (version 2.6.3.22451) in my asp.net 3.5 application.
While using upload option in the insert image modal popup, is it possible to upload the file to an external server, e.g. outside my virtual directory (anyhow, for example using FTP credentials).
I want to display a Text File in the browser.The text file must be viewable along with MS word functionality (like the inclusion of a ruler for indentation etc.)How can I do this?
I am developing a large dent in my forehead trying to figure out why my server control will not display the property editors, both image and URL navigation. I have done everything that they say on the different sites but the editors will not show up, here is my code:
#Region "Imports" Imports System Imports System.Collections.Generic Imports System.ComponentModel Imports System.Text
I am using TinyMCE html editor in my web application with Asp.net 3.5 and C#. If I enter a path like http://video.test.com/test.flv in url attribute to add video in my page content, the leading slash gets stripped, and becomes "http:/video.test.com/test.flv".So that the move could not get loaded. On button click event the slash gets removed. Button click is necessary for me to save the page content into the database.