Copied to clipboard

Flag this post as spam?

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


  • Søren Reinke 158 posts 206 karma points c-trib
    Jun 21, 2010 @ 12:17
    Søren Reinke
    0

    Problem with DatePicker layout

    Hi there

    I am trying to make a Holiday booking contour form, the functionality works fine, but the layout is strange:

    When i preview the form inside contour, the DatePicker looks like this:

    http://img823.imageshack.us/img823/5286/onweb.png

     

    But when i insert the form into a template by using:

    <umbraco:Macro FormGuid="458b97da-39ab-4730-bea3-51f5a3cd8c3d" Alias="umbracoContour.RenderForm" runat="server">
    </umbraco:Macro>

     

    The datetime selector is always shown, not as in the preview as a TextBox until i click it.

    http://img20.imageshack.us/i/frompreview.png/

     

    I have tried to figure out if i was missing a stylesheet or some javascript, but no luck yet.

    I might have missed something, please help.

     

  • Søren Reinke 158 posts 206 karma points c-trib
    Jun 21, 2010 @ 12:18
    Søren Reinke
    0

    Sorry i switch the images:

    The preview:

    http://img20.imageshack.us/img20/9014/frompreview.png

     

    When inside a Template:

    http://img823.imageshack.us/img823/5286/onweb.png

  • Søren Reinke 158 posts 206 karma points c-trib
    Jun 25, 2010 @ 10:46
    Søren Reinke
    0

    Isn't there anyone who could give me a hint ?

  • Søren Reinke 158 posts 206 karma points c-trib
    Jun 25, 2010 @ 13:49
    Søren Reinke
    0

    With some external help, i was able to find:

    http://our.umbraco.org/forum/umbraco-pro/contour/9213-macro-and-item-issue-when-head-runat-server

     

    Which did solve the problem.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jun 28, 2010 @ 08:44
    Tim Geyssens
    0

    Hi Soren,

    That's correct, for the calendar control to display on (popup mode) you need to have the runat="server" attribute on your head tag.

    Regards,
    Tim

  • 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