<p> introduced on new line in IE

7 posts, 0 answers
  1. Rafael
    Rafael avatar
    3 posts
    Member since:
    Mar 2011

    Posted 08 Jun 2015 Link to this post

    Hello,

     When hitting a new line on Mozilla or Chrome, it introduces a <br/> tag, which is fine for us. However in IE the editor wraps up the line inside <p>...</p> tags, thus introducing a double spacing. Is there any way to put IE in line with the other browsers?

    Regards

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 10 Jun 2015 Link to this post

    Hello Rafael,

    I tried to reproduce the described behavior using the Overview demo of RadEditor (http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx), but to no avail. Changing  the NewLineMode to Br, properly adds BR tags without wrapping the text in a P element. You can see the results on my end with this screencast—http://screencast.com/t/MZDo2M3d.

    If there are any specific steps that I am missing in order to reproduce the same behavior, please, let me know.

    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. Rafael
    Rafael avatar
    3 posts
    Member since:
    Mar 2011

    Posted 10 Jun 2015 in reply to Ianko Link to this post

    Hi Ianko,

     I'm using version 2013.1.417.35 and the control is added dynamically to a ControlCollection if that makes any difference, this is my surce code:

    CustomRadEditorCtrl edit = new CustomRadEditorCtrl();
    edit.Width = new Unit(51.0, UnitType.Percentage);
    edit.NewLineMode = EditorNewLineModes.Br;
    Controls.Add(edit);

    Regards

  5. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 10 Jun 2015 Link to this post

    Hello Rafael,

    I see that the class name is CustomRadEditorCtrl, which assumes that a customized RadEditor is being implemented. Such a scenario is not officially supported, and any possible side effects from customizing Telerik controls should be handled manually.

    However, another major pitfall I see is that the version used is 2013.1.417 which is quite an old version and moreover, it is one released before the existence of IE11, and it is expected this version to be unsupported with browser that have not been available for testing back in time.

    Try if using a more recent version of RadEditor resolves 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
  6. Rafael
    Rafael avatar
    3 posts
    Member since:
    Mar 2011

    Posted 10 Jun 2015 in reply to Ianko Link to this post

    Hi Ianko,

     I guess you're right, could you please point me to a newer version of the component?

    Regards

  7. Rafael
    Rafael avatar
    3 posts
    Member since:
    Mar 2011

    Posted 10 Jun 2015 in reply to Ianko Link to this post

    Hi Ianko,

     I guess you're right. Could you please point me to a newer version of the component?

    Regards

  8. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 10 Jun 2015 Link to this post

    Hello Rafael,

    I see that your license has expired, therefore, you should first renew your license. After that, the most recent version of the Telerik UI for ASP.NET AJAX suite will be available for download in your account.

    For the time being you can test with the latest version by downloading the trial version of the suite—http://www.telerik.com/products/aspnet-ajax/download.aspx

    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
UI for ASP.NET Ajax is Ready for VS 2017