First timer with Contour - textfield doesent have a form that contains "runat=server" ??
Hey i just installed Contour (trial) on
umbraco 4.0.2.1 - which installed without any problems, using
Vista and iis7
i then immidiatly proceeded to trying out the videos on how to make my very first Contact form
i followed the video guide to the letter
but when i try to see how it looks on my web page it returns this error. (danish)
Serverfejl i programmet '/'.
Kontrolelementet
'ctl00_ctl00_ctl00_ContentPlaceHolderDefault_BodyContent_RenderForm_1_rpFieldsets_ctl00_rpFields_ctl00_b8c35a1b-db33-46b1-a690-18baed2747dd'
af typen 'TextBox' skal placeres i en formularkode med runat=server.
Beskrivelse: Der
opstod en undtagelse, der ikke blev behandlet, under udførelse af den
aktuelle webanmodning. Se staksporingen for at få yderligere
oplysninger om fejlen, og hvor den kom fra i koden.
Detaljer om undtagelse: System.Web.HttpException:
Kontrolelementet
'ctl00_ctl00_ctl00_ContentPlaceHolderDefault_BodyContent_RenderForm_1_rpFieldsets_ctl00_rpFields_ctl00_b8c35a1b-db33-46b1-a690-18baed2747dd'
af typen 'TextBox' skal placeres i en formularkode med runat=server.
First timer with Contour - textfield doesent have a form that contains "runat=server" ??
Hey i just installed Contour (trial) on
umbraco 4.0.2.1 - which installed without any problems, using
Vista and iis7
i then immidiatly proceeded to trying out the videos on how to make my very first Contact form
i followed the video guide to the letter
but when i try to see how it looks on my web page it returns this error. (danish)
Serverfejl i programmet '/'.
Kontrolelementet 'ctl00_ctl00_ctl00_ContentPlaceHolderDefault_BodyContent_RenderForm_1_rpFieldsets_ctl00_rpFields_ctl00_b8c35a1b-db33-46b1-a690-18baed2747dd' af typen 'TextBox' skal placeres i en formularkode med runat=server.
Beskrivelse: Der opstod en undtagelse, der ikke blev behandlet, under udførelse af den aktuelle webanmodning. Se staksporingen for at få yderligere oplysninger om fejlen, og hvor den kom fra i koden.Detaljer om undtagelse: System.Web.HttpException: Kontrolelementet 'ctl00_ctl00_ctl00_ContentPlaceHolderDefault_BodyContent_RenderForm_1_rpFieldsets_ctl00_rpFields_ctl00_b8c35a1b-db33-46b1-a690-18baed2747dd' af typen 'TextBox' skal placeres i en formularkode med runat=server.
Stack trace is,
i have tried various things like Checkboxes , textfields , text areas but all return this error ?..
i am quite clueless to what is wrong here and i hope someone can assist if they have had similar problems and found a solution.
thank you for your time.
You need to have a <form runat="server"> tag on your template.
Immediatedly inside you master pages <body> tag put the above tag (and close it before the </body> tag).
This should stop the error, you may want to reduce the scope of the <form> tag. Try putting it only on the templates that require Contour.
Cheers,
Chris
Hi, you need a <form runat="server"> in your template that will host the form to function properly.
Hope this helps.
Regards,
/Dirk
Thank you for that - im used to that <form></form> to be present automatically :D (diddent see it wasent there)
again thank you thank you
is working on a reply...