Contour - error when using a form created by Contour
Hi there,
This may be environmental but in case it's a new issue I'll raise it anyway.
I have imported an Access db into SQL Server. I use 1 table to create a datasource and from that ds I create a form.
I insert the Contour macro into a textpage (existing template) and create a new node based on this and when I go to the new page in the front end I get:
Server Error in '/' Application.
Control '2ba200fb-aded-4289-b5ee-9ce287fb9d9c' referenced by the ControlToValidate property of 'mandatory' cannot be validated.
Description: An
unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the
error and where it originated in the code.
Exception Details: System.Web.HttpException:
Control '2ba200fb-aded-4289-b5ee-9ce287fb9d9c' referenced by the
ControlToValidate property of 'mandatory' cannot be validated.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
ok, I dropped the table and recreated it using a script and it works so it must be environmental. some fields where mandatory, it may have been related to that. If I get time I will dig around a bit and try and get it to break again...
I am receiving the same errormessage on a form our customer have created. Did some backtracking, started by removing required fields from the bottom.
In the form we have a Checkbox "I approve" which is set to mandatory. This seems to be the field causing the exception. As soon as I remove the "mandatory" on that field the form is working correctly.
To recreate simply create a checkbox and set it as mandatory.
The nightly only contains minor changes so should be safe to install, however we have not done final testing on it so there it is not a "official" release yet, but for those who need a fix right now, this is an option.
To update an existing installation, download the upgrade:
It seeme the links mentioned in your last post is not working. I am having this similar situation where in i am extending default check box and having the same problem mentioned in this post.
Contour - error when using a form created by Contour
Hi there,
This may be environmental but in case it's a new issue I'll raise it anyway.
I have imported an Access db into SQL Server. I use 1 table to create a datasource and from that ds I create a form.
I insert the Contour macro into a textpage (existing template) and create a new node based on this and when I go to the new page in the front end I get:
Server Error in '/' Application.
Control '2ba200fb-aded-4289-b5ee-9ce287fb9d9c' referenced by the ControlToValidate property of 'mandatory' cannot be validated.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Web.HttpException: Control '2ba200fb-aded-4289-b5ee-9ce287fb9d9c' referenced by the ControlToValidate property of 'mandatory' cannot be validated.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
What field type is it trying to render?
hey, many textfields, a couple of dates and a couple of checkboxes.
I'll try removing fields and see which one causes the issue.
I created a new form using only textfields and it's ok. ialso excluded any mandatory fields.
will try adding a few extra fields
ok, I dropped the table and recreated it using a script and it works so it must be environmental. some fields where mandatory, it may have been related to that. If I get time I will dig around a bit and try and get it to break again...
I am receiving the same errormessage on a form our customer have created. Did some backtracking, started by removing required fields from the bottom.
In the form we have a Checkbox "I approve" which is set to mandatory. This seems to be the field causing the exception. As soon as I remove the "mandatory" on that field the form is working correctly.
To recreate simply create a checkbox and set it as mandatory.
Normal ASP.NET checkboxes and radiobuttons cannot be mandatory.
Thanks for your answer, haven't tried using a checkbox as mandatory before.
So basically it isn't possible to create this with Contour.
We've added a fix for this in the latest nightly build, which you can get here:
http://nightly.umbraco.org/Umbraco%20Contour/1.0.6/
The nightly only contains minor changes so should be safe to install, however we have not done final testing on it so there it is not a "official" release yet, but for those who need a fix right now, this is an option.
To update an existing installation, download the upgrade:
http://nightly.umbraco.org/Umbraco%20Contour/1.0.6/UmbracoContour_1.0.6_633952812677364112_update.zip
and unzip it in the root of your website.
Thanks Per, it did the trick!
Per -
It seeme the links mentioned in your last post is not working. I am having this similar situation where in i am extending default check box and having the same problem mentioned in this post.
Many thanks.
is working on a reply...