473,395 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

HTML Editor that works on UpdatePanel?

I'm looking for an HTML Editor that works "out the box" on the update panel without permission errors or hacks!

All I need is something simple - in fact something like the one on this page (when you hit "post question").

I've tried dozens of demos but none of them work.

Anyone know of one?
Apr 9 '08 #1
3 2223
obout do quite a nice one that works really well, but it's expensive for what I want to use it for. In the end I plumped for FCK editor which so far seems to work well.
Apr 14 '08 #2
Plater
7,872 Expert 4TB
It's just a regular textarea here, not special activeX control.
They use javascript to handle the buttons.
Apr 14 '08 #3
Frinavale
9,735 Expert Mod 8TB
I'm looking for an HTML Editor that works "out the box" on the update panel without permission errors or hacks!

All I need is something simple - in fact something like the one on this page (when you hit "post question").

I've tried dozens of demos but none of them work.

Anyone know of one?
I understand your pain.
JavaScript enabled controls tend to break when they are implemented into an Ajax enabled website.

The reason for this is that the partial page updates (anything within an UpdatePanel) cannot re-refrence the JavaScript functions that were loaded in the browser during the browser's page load.

I haven't found a control like the one that you're looking for yet.

It sounds like you're going to have to create one.

Like Plater has said, your buttons are going to rely on JavaScript for doing bold, underline etc. in your text area.

The Huge Catch is that you are going to have to implement this control using the ScriptManager and ScriptProxy classes in order to re-register your JavaScript during partial page updates.

I'm still a newbie when it comes to developing these controls but lately <sarcasm>I've had the pleasure</sarcasm> of attempting to convert my JavaScript enabled WebUserControls into Ajax enabled Web User Controls.

To save you the same torment that I suffered...check out the article on Adding ASP.NET Ajax Client Behaviors to Web Server Controls

If you don't have the time/resources to invest in creating this control yourself, you should really think about using those "permissions hacks" that you were not pleased with originally.....

Or maybe you'll get lucky and someone will know of a control that will do this for you.

Good luck!

-Frinny
Apr 14 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Leszek | last post by:
Hello, Has anybody heard about an HTML editor available as an ASP.NET control or so? I need one for my Content Management System. I would appreciate any help: links to existing components,...
20
by: Guadala Harry | last post by:
In an ASCX, I have a Literal control into which I inject a at runtime. litInjectedContent.Text = dataClass.GetHTMLSnippetFromDB(someID); This works great as long as the contains just...
2
by: marss | last post by:
Hello, I have a question concerning UpdatePanel. For example, I have two linkbuttons at the UpdatePanel. I want the Button1 linkbutton to update controls within panel (the TextBox1 control in...
1
by: podpi | last post by:
Hello I'm having a bit of a proooblem. I have a gridview which has a checkbox as one of the templatecolumn's. When it is checked, it hides a textbox containing a DateTime templatefield...
4
by: Rob Meade | last post by:
Hi all, Ok - this might sound kinda stupid - but I cant see how to do it... I've got an update panel which contains, on one horizontal line, a drop down list, then an image, then another drop...
3
by: JacekDr | last post by:
Hello, I've got the following problem: I want to add and remove dynamically controls to UpdatePanel. In my user control I have a button, but when I click it I get AsyncPostback and Event for...
0
by: rupinderbatra | last post by:
Hello Everyone, I am trying to build a website where on click of a button, I am fetching some data from a web service (in code-behind) and displaying it using a repeater control. The repeater...
1
by: mohaaron | last post by:
Can anyone tell me how to get a nested UpdatePanel to update when the trigger control is in the parent UpdatePanel and I don't want to parent to update? I'm trying to change the Visible property of...
1
by: =?Utf-8?B?cmxt?= | last post by:
I have standard gridview in an updatePanel with an AJAX timer that refreshes the data every 5 seconds by calling the grids DataBind method in the tick event. This works great. However, I have a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.