This project is read-only.

Adding more than one rich text editor inside the form


Feb 21 at 2:32 AM
if i add more then one RichTextEditor in the form 2 nd one is not working
can u please help me
Apr 7 at 11:29 AM

I am having the same issue. If anyone has a solution please share it.
Apr 8 at 2:29 PM
This issue is related to the javascript that the control generates is not unique to the specific instance of the control. Variable name and function name conflicts cause issues with multiple instances of the RTE on one page. To get around this you could either change the rte javascript objects and functions to account for multiple instances, or change the source so the javascript is generated dynamically in the C# code which enables unique names to be created. Both options require a good deal of work, I opted for option 2. There may be a better/easier way to do this... but I couldn't find one.
Apr 16 at 3:12 PM
mrfinger, care to share with the group? I'm not a C# programmer, so where and what to change would be greatly appreciated.
Apr 18 at 9:47 AM
Hello, The changes involved are quite vast. Unfortunately I don't currently have the time in my schedule to go through all of the modifications needed and post them here. My work load should lighten as summer approaches and then perhaps I can craft together something to share and maybe even worth suggesting to be added to future release. Sorry for not being able to share more at this current moment. A lot of the code is actually Javascript code which needs to be redone. All of the "loose" functions in the js files of the RTE need to be put in to objects... the C# code then needs to be modified to create unique instances of the objects for each rte. This methodology can be studied by looking at the code of other AJAX controls... the AJAX Toolkit is a good place to look.


GotNetGuy wrote Oct 1, 2009 at 10:04 PM

Any chance for any further information?

wrote Aug 31, 2010 at 2:34 PM

wrote Feb 14, 2013 at 8:46 PM

wrote Dec 14, 2017 at 10:33 PM