Problem with RadEditor insertion point jumping to end of line

4 posts, 0 answers
  1. John Mann
    John Mann avatar
    34 posts
    Member since:
    Nov 2008

    Posted 27 May 2015 Link to this post

    I have a RadEditior embedded in RadGrid. I've been getting frequent complaints from users that the cursor jumps around when they are trying to edit previously entered text. I've been able to recreate part of the problem by pressing the spacebar twice. The first space is inserted normally, the second space is inserted as an   and then the cursor jumps to the end of the current line. Once this happens nothing can be typed without the insertion point jumping to the end. Switching to html mode and back will temporarily correct the problem. Strange behavior will also occur when the insert key is pressed and the control goes into overwrite mode.

    Here is the grid with its RadEditor. This is all located in a RadWindow.

    <telerik:RadGrid ID="rgJudicialNotes" runat="server" AutoGenerateColumns="False" AllowSorting="True" CellSpacing="0" GridLines="None" Height="455px">
      <MasterTableView CommandItemDisplay="Top" CommandItemSettings-AddNewRecordText="Add Note" CommandItemSettings-ShowRefreshButton="true" TableLayout="Fixed" EditMode="EditForms" DataKeyNames="note_nr,note">
        <EditFormSettings EditFormType="Template">
          <FormTemplate>
            <div style="position: relative; height: 215px; width: 800px;">
              <telerik:RadEditor ID="reNote" Runat="server" ResolvedRenderMode="Classic" Width="795px" Height="165px" NewLineMode="Br">
                <tools>
                  <telerik:EditorToolGroup Tag="MainToolbar">
                    <telerik:EditorSplitButton Name="Undo" />
                    <telerik:EditorSplitButton Name="Redo" />
                    <telerik:EditorTool Name="Cut" />
                    <telerik:EditorTool Name="Copy" />
                    <telerik:EditorTool Name="Paste" ShortCut="CTRL+V / CMD+V" />
                  </telerik:EditorToolGroup>
                  <telerik:EditorToolGroup Tag="Formatting">
                    <telerik:EditorTool Name="Bold" />
                    <telerik:EditorTool Name="Italic" />
                    <telerik:EditorTool Name="Underline" />
                    <telerik:EditorTool Name="StrikeThrough" />
                    <telerik:EditorSplitButton Name="BackColor" />
                  </telerik:EditorToolGroup>
                </tools>
                <Content>
                </Content>
              </telerik:RadEditor>
              <asp:ImageButton ID="ibSave" runat="server" ImageUrl="~/Images/Save.png" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' style="position: absolute; left: 10px; top: 180px;" />
              <asp:ImageButton ID="ibCancel" runat="server" ImageUrl="~/Images/Cancel.png" CommandName="Cancel" style="position: absolute; left: 70px; top: 180px;" />
            </div>
          </FormTemplate>
        </EditFormSettings>
        <SortExpressions>
          <telerik:GridSortExpression FieldName="createdate" SortOrder="Descending" />
        </SortExpressions>
        <Columns>
          <telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderStyle-Width="30px" ItemStyle-HorizontalAlign="Center" EditImageUrl="~/Images/Edit.png" UniqueName="gecEdit" />
          <telerik:GridBoundColumn DataField="createdate" HeaderText="Entry Date" ReadOnly="true" DataFormatString="{0:MM/dd/yyyy hh:mm}" HeaderStyle-Width="110px" UniqueName="gbc_create_date" />
          <telerik:GridBoundColumn DataField="note" HeaderText="Note" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" HeaderStyle-Width="500px" MaxLength="4096" UniqueName="gbc_note" />
          <telerik:GridBoundColumn DataField="empl_last_nme" HeaderText="Judge" ReadOnly="true" HeaderStyle-Width="80px" UniqueName="gbc_empl_last_nme" />
        </Columns>
      </MasterTableView>
      <ClientSettings><Scrolling AllowScroll="true" /></ClientSettings>
    </telerik:RadGrid>

     We are using IE9, Windows 7, and version 2015.1.401.40 of the Telerik controls.

    Any suggestions on how to correct this behavior?

     

    Thanks,

    John

     

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 01 Jun 2015 Link to this post

    Hello John,

    I tested with a similar configuration in this online demo (http://demos.telerik.com/aspnet-ajax/editor/examples/edittemplate/defaultcs.aspx), but I was unable to encounter the issues described. Here you are a screencast that shows my tests—http://screencast.com/t/l0wg6TKmmAH.

    Let me know if there are any additional steps required to reproduce the issue.

    Regards,
    Ianko
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. ramsey
    ramsey avatar
    1 posts
    Member since:
    Jul 2011

    Posted 29 Jun 2015 Link to this post

    We noticed the same frustrating "cursor moving to end-of-line" issue. Reverting the Telerik version from 2015.1.401.40 back to 2013.3.1324.40 resolved it.

     

  5. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 30 Jun 2015 Link to this post

    Hello John and Ramsey,

    If the problem is reproducible under IE7 and 8, this is logged as a bug report. You can follow additional details and the task's progress here—http://feedback.telerik.com/Project/108/Feedback/Details/161544.

    Regards,
    Ianko
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top