Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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.
Sorry i switch the images:
The preview:
http://img20.imageshack.us/img20/9014/frompreview.png
When inside a Template:
Isn't there anyone who could give me a hint ?
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.
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
is working on a reply...
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.
Continue discussion
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.
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
Isn't there anyone who could give me a hint ?
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.
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
is working on a reply...
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.