I want to add a tool bar (just like the one above the text area where we type our questions in this forum , with bold,italic etc) to a web page.Is there an easier way of doing this?I am using ASP.Net c# and VS2008.
Thankx in advance.
Here is one of the well known ones.
http://ckeditor.com/
There are a bunch. The "most famous" is tinyMCE, but there is also CKEditor. If you need an highly customizable solution, you could also try Wysihat.
there is so many WYSWING editor (open source and commercial) In most of my cases CKEditor was the best option . it is opensource and fully customizable
Related
I want to know if there is a free alternative to display Visio diagram (.vds file) in webforms asp.net C#?
Thanks in advance.
To my knowledge, the only way to go is using ActiveX, but if you decide to go down that path, do know that it's supported only by Internet Explorer, and since that one is going to the grave rather quickly I'd say you'll give yourself some headache quite quickly.
There's no pure HTML5/ASP.NET WebForms solutions for this as per today.
I have an ASP.NET website that is a panel for managing and sending e-mails. I want people to have an editor to changed what is in the template itself (which is writing in plain HTML.) in withing my site.
But, I don't want them to see the HTML. I just need them to edit the text and not touch the CSS/HTML to not destroy the look of it. Any tips or solutions that any one may know?
Use a free RichTextBox control in your project. You can find many open source or free controls out there.
Here's an example
http://www.freetextbox.com/
In this website you could find a list of controls that you could use.
You can use Ajax "HTMLEditior" or "HTMLEditiorExtender" for this
purpose
For what is HTMLEditor and how to use it follow this link
HTML Editor (AJAX Tool Kit)
Check ckeditor which has lot of editing features and your users can do almost everything. Also it supports inline editing.
I need to add in a WYSIWYG control into a .NET form. I found this one from SpiceLogic on several sites and was wondering if this is a decent library to use?
http://www.spicelogic.com/Products/NET-Win-HTML-Editor-Control-8/
If anyone has any additional input, I also would like to know of any other decent alternatives, both free and non-free.
Thanks in advance for any opinions on this!
EDIT Should have clarified this before, but this is a desktop application.
You can also try one of these strategies:
Use the RichTextBox control, which exposes a FlowDocument. Write a program that converts the FlowDocument to HTML. Since FlowDocs are much more constrained that HTML, this conversion might be pretty straightforward (sections -> div, paragraph -> p, styles -> css or style attributes, etc).
Use MSHTML and put it into edit mode. http://msdn.microsoft.com/en-us/library/aa753622(v=vs.85).aspx
You may want to try XStandard. I have used it in CMS web sites and it works great. You can also use it with desktop apps. There is a free "lite" version and a for=pay pro version. It creates XHTML markup and has lots of slick built-in functionality.
As a comparison, I have used Telerik RAD Editor and XStandard is much better (IMO). I have also tried other web-specific solutions like FCKEditor and TinyMCE and I prefer XStandard.
If your concern is to get XHTML all the time right from the beginning which should be published on the Web, then, I would say, "Yes", you can try that component from SpiceLogic, especially the version 5.x which was released very recently. It comes with many features like embedding images for an email client, Uploading local images to FTP, paste from MS Word, rich Dialogs for Tables, Images, Hyperlink, Symbols, Inline Spell Checker and Spell Checker dialogs, and more.
https://www.spicelogic.com/Products/NET-WinForms-HTML-Editor-Control-8
All Screenshots:
http://www.spicelogic.com/Products/NET-WinForms-HTML-Editor-Control-8/Screenshots
TinyMCE is a great way to achieve this. Here is a way to embed TinyMCE in Winform. I tested it and it works pretty well: https://github.com/Rocker93/winforms-html-editor
An other solution is CEFSharp. The integration is not easy but it's very well documented and it's the most powerful and free solution I have found.
At work we use telerik controls for this stuff:
http://www.telerik.com/products/aspnet-ajax/editor.aspx
its definitely not free though.
I have developed a GUI using ASP.NET 3.5 and C#....
Now at some places i need to display the data using graphs like pie or bar...
I need to know how to start to do this...As in i was going through Crystal Reports, the there was something about MS charts...i need to know where can i read the tutorial and then implement it in my GUI...
I also like to know the Licence type.. i am looking for something that is free to try and distribute..
Thanks
MS charts, yes. They're free
And ScottGu introduces them here (with links to documentation)
ZedGraph (http://zedgraph.org/wiki/index.php?title=Main_Page) is another one - with sourcecode.
I'm using it in many Projects.
I can really recommend going for a third party library like Infragistics or Dundas. They are not that expensive and give you much richer functionality.
Hey bloggers out there! I've created Wordpress blog that I am hosting myself, and I'm having the hardest time figuring out the best way to add C# snippets to my blog. What do you all use?
I'm currently using the "SyntaxHighlighter Evolved" plugin, and it works great for the most part - the only problem is that switching back to the Visual Editor removes all of the whitsepace padding. I've tried wrapping the [sourcecode] tags in <pre>'s, but then the formatter doesn't work correctly.
Any help would be much appreciated. I've spent about 10 hours trying to come up with a robust solution, and no luck.
Cheers!
See the blog post that I wrote on this exact question, which explains how to use SyntaxHighlighter and fix TinyMCE so that it doesn't mess up your white space or tags (you can either customize one of the tinymce files in Wordpress, or use a plugin to do it for you).
Use the WP-Syntax plugin. To use it, you wrap the code with a pre tag with a language attribute. Consolidates the effort.
If Client-Side (JavaScript) Syntax Highlighting is also an option, I can recommend google-code-prettify, which works quite well. Only a little Code escaping is needed to make it zero-friction for me as an author, as I detailed in a posting.
You can use Windows Live Writer to write post for your blog and use Steve Dunns live writer plugin.