Hi all,
I'm using the FCKeditor in a gridview edit template, all seems well until I try to retrieve the value from the editor, at which point it sends back the initial value that the editor was bound with, not the updated text.
Could you please tell me how to get back the updated text?
My code is below:
Thanks much,
Ryan
I'm using the FCKeditor in a gridview edit template, all seems well until I try to retrieve the value from the editor, at which point it sends back the initial value that the editor was bound with, not the updated text.
Could you please tell me how to get back the updated text?
My code is below:
<FCK:FCKeditor ID="fckEdit" runat="server" Value='<%# Bind("AnnouncementText") %>' ToolbarSet="CoWIntranet" />
GridViewRow gridRow = gvwAnnouncements.Rows[e.RowIndex]; Announcement announcement = new Announcement(); announcement.AnnouncementTitle = ((TextBox)gridRow.FindControl("txtTitle")).Text; announcement.AnnouncementText = ((FCKeditor)gvwAnnouncements.Rows[e.RowIndex].FindControl("fckEdit")).Value;
Thanks much,
Ryan