Hi, actually I have the code below working fine, but when I put the RadEditor inside an UpdatePanel to make it asynchronous, the code-behind dont get the RadEditor content value. Is it possible to pass the value inside an UpdatePanel, how? thanks
<telerik:RadEditor ID=
"reComment"
runat=
"server"
EditModes=
"Design"
ToolbarMode=
"ShowOnFocus"
ToolsWidth=
"170px"
Width=
"412px"
Height=
"72px"
>
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name=
"Bold"
/>
<telerik:EditorTool Name=
"Italic"
/>
<telerik:EditorTool Name=
"StrikeThrough"
/>
<telerik:EditorTool Name=
"Underline"
/>
<telerik:EditorTool Name=
"InsertUnorderedList"
/>
<telerik:EditorTool Name=
"InsertOrderedList"
/>
</telerik:EditorToolGroup>
</Tools>
</telerik:RadEditor>
<input id=
"inpHide"
name=
"inpHide"
type=
"hidden"
runat=
"server"
/>
<span
class
=
"exp-bout-comm"
>
<asp:Button ID=
"btSubmit"
runat=
"server"
Text=
"Valider"
OnClick=
"btSubmit_Click"
/></span>
if
(!IsPostBack)
{
base
.OnLoad(e);
GetExistingComments();
if
(ScriptManager.GetCurrent(Page) ==
null
)
{
ScriptManager sMgr =
new
ScriptManager();
Page.Form.Controls.AddAt(0, sMgr);
}
btSubmit.Click +=
new
EventHandler(btSubmit_Click);
if
(reComment ==
null
)
{
reComment =
this
.FindControl(
"reComment"
)
as
RadEditor;
}
string
content = reComment.Content;
}