HOW-TO Build an ASP.NET application utilizing RadEditor with Delphi 2005
SOLUTIONBelow are described the steps to use RadEditor in your Delphi 2005 ASP.NET application: From the main toolbar choose File -> New -> ASP.NET Web Application for Delphi for .NET (the creation of new C# based Web Application is analogical).
Borland Delphi displays the New Project
dialog box, as shown below. In the New Project dialog box type your
project name in the Name field. In the Location field, accept the
default path or enter another project path. Note that most ASP.NET
projects resides in the IIS directory Inetpub\wwwroot. Press OK to
proceed and create the new application:
After creating the Web application, Borland Delphi displays the new Web form in the center window:
It is time to add RadEditor to the new ASP.NET WebForm. You can use one of the following two techniques:
Adding RadEditor to the Borland Delphi Tool Palette:In the Tool Palette:
Drag the RadEditor icon from the Borland Delphi Tool Palette:
* Note: The above code will add a sample instance of the RadEditor with a working instance of the spellchecker (RadSpell). Since RadSpell is not a built-in component of RadEditor, but is a standalone component, you should always include the RadSpell registration directive and tag in your WebForms separately. If you have more than one RadEditor on a web-form you need to place the respective number of RadSpell tags and set the ControlToCheck property of every RadSpell to the ID of the respective RadEditor.