First time install and setup

May 12, 2008 at 1:41 PM
I downloaded the latest change set # 7484

After downloading and extracting the zip to its own directory, I used visual C# express to "Build Solution" and when that was complete there was a RichTextEditor.dll in the bin/release section of the downloaded directory.

I then created a new project in Visual Web Developer 2008. I created a folder called Bin and put the RichTextEditor.dll into the bin directory.

I then went into default.aspx and added two lines to get it to work. (I wish then would add these steps to the home page!)

<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

 

<%

@ Register assembly="RichTextEditor" namespace="AjaxControls" tagprefix="cc1" %>

 

<!

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

html xmlns="http://www.w3.org/1999/xhtml">

 

<

head runat="server">

 

 

<title>Untitled Page</title>

 

</

head>

 

<

body>

 

 

<form id="form1" runat="server">

 

 

<div>

 

 

<cc1:RichTextEditor ID="Rte1" Theme="Blue" runat="server" />

 

 

</div>

 

 

</form>

 

</

body>

 

</

html>