This is a migrated thread and some comments may be shown as answers.

Commentary Editor

4 Answers 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jeff Kershner
Top achievements
Rank 1
Jeff Kershner asked on 07 Apr 2011, 09:35 PM
I am using VS2010 with the latest Telerik controls for asp.net AJAX with ASP.NET 4.0.

I have a business intelligence application that needs to have a customer insert commentary into a report.  Currently we are using AJAX contol toolkit's Modal Popup Extender with Winthusiasm for the WYSIWYG editor.

We would like to replace all controls with Telerik controls.  I was thinking about some kind of modal dialog with a good looking editor.  I am open to other suggestions.

Can anyone point me to a control or two that would help me accomplish what I need.

Thanks,
--jeff

4 Answers, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 11 Apr 2011, 01:32 PM

Hi Jeff,

You can use RadWindow for the modal popup container and in it RadEditor as the WYSIWYG editor. They both offer great modification potential and a rich client-side and server-side API.

For your convenience I have attached a simple page illustrating the basic approach. Note that the overall look and feel can be modified via skins and toolbar customizations.

For more information on the available functionality take a look at the Online demos:
Editor First Look Demo
Window First Look Demo
and the Online Documentation:
Editor Overview
Window Overview



Greetings,
Marin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jeff Kershner
Top achievements
Rank 1
answered on 11 Apr 2011, 05:22 PM
Excellent; this looks promising.  When I try to run your EditorInWindow.aspx page, I get an error saying:
Compiler Error Message: CS0103: The name 'RadEditor1' does not exist in the current context

It seems that the AJAX $find can't find the RadEditor1 contorl inside the ContentTemplate of the RadWindow.

Do you know how i can fix this?

Thanks,
--Jeff
0
Dobromir
Telerik team
answered on 14 Apr 2011, 10:50 AM
Hi Jeff,

I tested the sample page provided by Martin and it working as expected. For your convenience I have prepared a video demonstrating my test.
http://screencast.com/t/6LBRCIglKT

Have you applied any modifications to the page? If so, could you please provide the modified page where the problem occur so we can investigate it further?

In addition, if you tried to load external page containing RadEditor inside RadWindow (using NavigateUrl property of the window the JavaScript function refreshEditor() might cause this error because no instance of RadEditor is present on the page.

Kind regards,
Dobromir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Jeff Kershner
Top achievements
Rank 1
answered on 14 Apr 2011, 06:50 PM
Looks like for some reason I was using the 2009 version of the Telerik dlls.  As soon as I upgraded, everything worked.

Thanks for the great help!
Tags
General Discussions
Asked by
Jeff Kershner
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Jeff Kershner
Top achievements
Rank 1
Dobromir
Telerik team
Share this question
or