Hello Support,
I noticed some strange behavior of RadEditor control.
I am trying to put the next image tag into Rad Editor content area (edit mode is HTML):
<img src="#PATH#Upload/calendar.png" alt="" />
On button click I want to store this value into a session. The problem is that it seems that page reloads on button click (I have IsPostBack check in OnInit event, and IsPostBack is false). Since I need session to be cleared in OnInit, you realize that all session data are lost. This page reload occurs even I change EditMode from HTML to Design, and inversely. The issue doesn't happen if I change "#PATH#" with "PATH#".
This is the source of RadEditor control:
<telerik:RadEditor ID="editorDroplistItemValue" runat="server" ToolbarMode="Default"
EditModes="Design, Preview, HTML" Skin="Simple" ContentFilters="None" NewLineMode="Br"
Height="315" Width="640px" EnableResize="false" ToolsFile="~/Admin/Controls/ToolsFileFull.xml">
<Content>
</Content>
<CssFiles>
<telerik:EditorCssFile Value="../../css/RadEditorCSS.css" />
</CssFiles>
</telerik:RadEditor>
I noticed some strange behavior of RadEditor control.
I am trying to put the next image tag into Rad Editor content area (edit mode is HTML):
<img src="#PATH#Upload/calendar.png" alt="" />
On button click I want to store this value into a session. The problem is that it seems that page reloads on button click (I have IsPostBack check in OnInit event, and IsPostBack is false). Since I need session to be cleared in OnInit, you realize that all session data are lost. This page reload occurs even I change EditMode from HTML to Design, and inversely. The issue doesn't happen if I change "#PATH#" with "PATH#".
This is the source of RadEditor control:
<telerik:RadEditor ID="editorDroplistItemValue" runat="server" ToolbarMode="Default"
EditModes="Design, Preview, HTML" Skin="Simple" ContentFilters="None" NewLineMode="Br"
Height="315" Width="640px" EnableResize="false" ToolsFile="~/Admin/Controls/ToolsFileFull.xml">
<Content>
</Content>
<CssFiles>
<telerik:EditorCssFile Value="../../css/RadEditorCSS.css" />
</CssFiles>
</telerik:RadEditor>