I am trying to get the value of a Radeditor field in a User Control when updating to store it in my database table
In the update command of my grid I have tried using both of these commands
Dim editedItem As GridEditableItem = TryCast(e.Item, GridEditableItem)
Dim MyUserControl As UserControl = CType(e.Item.FindControl(GridEditFormItem.EditFormUserControlID), UserControl)
Dim editorcomment As RadEditor
editorcomment = CType(MyUserControl.FindControl("Comment"), RadEditor)
editorcomment = editedItem.FindControl("Comment")
Neither of these commands brings back any data in editorcomment.Content
Please can you give me some code which will retrieve the Content of the RadEditor field