Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • p.kidd 15 posts 55 karma points
    Jan 16, 2013 @ 18:37
    p.kidd
    0

    Cannot place text above inserted form

    Umbraco  6.0.0 MVC mode Contour 3.0.6

    If you add a contour form using (Insert form from Umbraco Contour(Razor)) and it is sitting at the top of the page in a rich text placeholder example below.

    You cannot enter text above it? It will enter the text in the macro box area then remove it when it is saved.

    If you attempt to remove the form and save you get the following error

    [ArgumentOutOfRangeException: Index and length must refer to a location within the string.
    Parameter name: length]
       System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +9385135
       umbraco.editorControls.tinyMCE3.TinyMCE.replaceMacroTags(String text) +81
       umbraco.editorControls.tinyMCE3.TinyMCE.Save() +64
       umbraco.controls.ContentControl.saveClick(Object Sender, ImageClickEventArgs e) +210
       System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +115
       System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +120
       System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) 
    +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
    +5563

  • Comment author was deleted

    Jan 16, 2013 @ 19:10

    Could you hit the html button on the rte and then clear everything

    Then enter your text and afterwards place the form

    That should do the trick :)

  • p.kidd 15 posts 55 karma points
    Jan 16, 2013 @ 23:04
    p.kidd
    0

    Sorted - thanks for the help.

Please Sign in or register to post replies

Write your reply to:

Draft