I'm trying to integrate CKEditor with a details View. My sample code is:
<asp:DetailsView ID="DetailsViewStation" runat="server" Height="50px" AutoGenerateRows="False"
DataKeyNames="StationNo" DataSourceID="StationSqlDataSource" CellPadding="4"
ForeColor="#333333" GridLines="None">
<AlternatingRowStyle BackColor="White" />
<CommandRowStyle BackColor="#FFFFC0" Font-Bold="True" />
<FieldHeaderStyle BackColor="#FFFF99" Font-Bold="True" />
<Fields>
<asp:BoundField DataField="StationNo" HeaderText="Station Number" ReadOnly="True"
SortExpression="StationNo" ApplyFormatInEditMode="True">
<HeaderStyle Width="150px" />
<ItemStyle HorizontalAlign="Center" Width="1200px" />
</asp:BoundField>
<asp:BoundField DataField="Station_Name" HeaderText="Station Name" SortExpression="Station_Name">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
</Fields>
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
</asp:DetailsView>
<asp:SqlDataSource ID="StationSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:AgainConnectionString %>"
DeleteCommand="DELETE FROM [StationInfoTable] WHERE [StationNo] = @StationNo"
InsertCommand="INSERT INTO [StationInfoTable] ([StationNo], [Station_Name] VALUES (@StationNo, @Station_Name)"
SelectCommand="SELECT * FROM [StationInfoTable] WHERE ([StationNo] = @StationNo)"
UpdateCommand="UPDATE [StationInfoTable] SET [Station_Name] = @Station_Name, [Importatnat_Info] = @Importatnat_Info WHERE [StationNo] = @StationNo">
<DeleteParameters>
<asp:Parameter Name="StationNo" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="StationNo" Type="Int32" />
<asp:Parameter Name="Station_Name" Type="String" />
</InsertParameters>
<SelectParameters>
<asp:ControlParameter ControlID="ListBoxChoices" Name="StationNo" PropertyName="SelectedValue"
Type="Int32" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="Station_Name" Type="String" />
<asp:Parameter Name="StationNo" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
I want to edit the data in details view with CKEditor to insert and delete links to and from database. Any one have done that before?