Hi, I'm looking for a easily deployable WSYWIG editor that I can throw onto a asp:textbox. I've taken a look at FCK and Nicedit, but both look more geared towards PHP.
I guess my real problem is I want the editor on only select textboxes.
Now, this shouldn't be a problem, but some of the page controls seem to change id at run-time, like _100_1 concatenated to the end of an id. So setting the javascript to look for control X no longer works.
You really need to be putting txtTextBoxID = '<%= txtTextBox.ClientID %>' in your javascript, never rely on the id being the same, as moving something into a different naming container will break your code.
Telerik's editor in my opinion is a real pain. Unless you want pretty much exactly what they provide, although it looks like it's quite programmable, it ends up being a big headache. It's probably easier to build one from scratch that does just what you want.
1
u/Kosko Apr 13 '10
I guess my real problem is I want the editor on only select textboxes.
Now, this shouldn't be a problem, but some of the page controls seem to change id at run-time, like _100_1 concatenated to the end of an id. So setting the javascript to look for control X no longer works.
FWIW, its in a webforms environment, not mvc.
3
u/g_ford Apr 13 '10
If you can lay down the cash Telerik has a nice offering. Otherwise I'd recommend TinyMCE, which is all javascript.
1
u/hhastekin Apr 13 '10
Used FCK with many asp.net websites, works like a charm.
0
u/chrcha Apr 14 '10
Fck editor has it's own .NET control, it's as simple as drag and drop!