Copied to clipboard

Flag this post as spam?

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


  • Hamish 96 posts 154 karma points
    Mar 03, 2011 @ 03:50
    Hamish
    0

    Contour showing only the first 2 fields then stops rendering any more of the fieldset

    I was getting this issue in 1.1.3, tried upgrading to 1.1.6 but alas, still have the same issue.

    Basically, the forms look great in contour, but when I try to add it to a rich text area as a macro, it only produces the first 2 fields and then stops rendering any more of the form and contiunues to produce the rest of the html in the page.

    No errors are reported so I stumped to why its doing this. Any

    I'm using Contour 1.1.6 on Umbraco 4.5.2.

  • Pat O'Callaghan 34 posts 56 karma points
    Mar 03, 2011 @ 04:58
    Pat O'Callaghan
    2

    Hey,

    I had a problem where if I had a Contour form in a macro and if I had the ClientIDMode="Static" attribute set it was causing half the form to disappear.

    I changed it to ClientIDMode="AutoID" and this solved the problem.

    Hope that helps,

    Pat

  • Hamish 96 posts 154 karma points
    Mar 03, 2011 @ 05:08
    Hamish
    0

    Pat you ROCK!

    I had ClientIDMode="Static" in the main master page:

    <%@ Master Language="C#" ... ClientIDMode="Static" %> 

     and so added ClientIDMode="AutoID" to /usercontrols/umbracoContour/RenderForm.ascx:

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RenderForm.ascx.cs" Inherits="Umbraco.Forms.UI.Usercontrols.RenderForm" ClientIDMode="AutoID" %>

    It now works like a charm.

    Chur

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies