Conditionals Not Working in 3.0.12 on Web Form on Public Site
System: Umbraco Version - 4.7.1 ,Windows Server 2008 – 8gb memory – 4 Zeon 2.27Ghz processors service pack 1 – 64 bit OS , IIS version 7.5.7600.16385, SQL Server 2008 R2, Stacktrace - N/A
Latest Build of Contour 3.0.12
I have set up the conditionals exactly as in your blog.
Nothing happens on the web form when "phone" or "leave me alone" is checked.
Right, I let our developer know. I don't think we are using the razor macro. The conditiuonal logic in the preview did not work. I think this is what you are talking about.
System: Umbraco Version - 4.7.1 ,Windows Server 2008 – 8gb memory – 4 Zeon 2.27Ghz processors service pack 1 – 64 bit OS , IIS version 7.5.7600.16385, SQL Server 2008 R2, Stacktrace - N/A
Tim,
Our developer installed the Razor Macro and got the following error:
Can you help?
Error on placing Contour Razor macro on template page. Fails with any Contour Macro.
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a91261c2\44d35484\App_Web_form.cshtml.c49069d.6_sjf74u.0.cs(27): error CS0234: The type or namespace name 'Ajax' does not exist in the namespace 'System.Web.Mvc' (are you missing an assembly reference?)
Right, so the current version is generally compatible w/Contour 3.x, but just not this feature. The folders work fine and moving list items work fine. So my questions are:
1. could we have determined in advance that conditionals would not work in 4.71 (so we can avoid these issues going forward and not waste time, your or ours)?
2. What is the technical reason it does not work? ie something to do w/support for MVC or lack thereof in 4.71
3. I take it there is not workaround.
4. Off topic, but is there any reason to not upgrade to the latest version of 4.1x vs 4.10? It seems to me that if we stay w/version 4 we should jump to that last rung.
Conditionals Not Working in 3.0.12 on Web Form on Public Site
System: Umbraco Version - 4.7.1 ,Windows Server 2008 – 8gb memory – 4 Zeon 2.27Ghz processors service pack 1 – 64 bit OS , IIS version 7.5.7600.16385, SQL Server 2008 R2, Stacktrace - N/A
Latest Build of Contour 3.0.12
I have set up the conditionals exactly as in your blog.
Nothing happens on the web form when "phone" or "leave me alone" is checked.
Comment author was deleted
Please note that the conditional logic only works for the razor macro, are you using the usercontrol one?
Does the conditional logic work when you preview the form in the contour section?
Thanks for the quick reply.
Right, I let our developer know. I don't think we are using the razor macro. The conditiuonal logic in the preview did not work. I think this is what you are talking about.
Working with Contour data in XSLT
See how you can fetch and display Contour record data from your xslt macros
Working with Contour data in Razor
See how you can fetch and display Contour record data from your razor macros
System: Umbraco Version - 4.7.1 ,Windows Server 2008 – 8gb memory – 4 Zeon 2.27Ghz processors service pack 1 – 64 bit OS , IIS version 7.5.7600.16385, SQL Server 2008 R2, Stacktrace - N/A
Tim,
Our developer installed the Razor Macro and got the following error:
Can you help?
Error on placing Contour Razor macro on template page. Fails with any Contour Macro.
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a91261c2\44d35484\App_Web_form.cshtml.c49069d.6_sjf74u.0.cs(27): error CS0234: The type or namespace name 'Ajax' does not exist in the namespace 'System.Web.Mvc' (are you missing an assembly reference?)
Comment author was deleted
Ah that because you are running an older Umbraco version please upgrade to at least 4.10
Right, so the current version is generally compatible w/Contour 3.x, but just not this feature. The folders work fine and moving list items work fine. So my questions are:
1. could we have determined in advance that conditionals would not work in 4.71 (so we can avoid these issues going forward and not waste time, your or ours)?
2. What is the technical reason it does not work? ie something to do w/support for MVC or lack thereof in 4.71
3. I take it there is not workaround.
4. Off topic, but is there any reason to not upgrade to the latest version of 4.1x vs 4.10? It seems to me that if we stay w/version 4 we should jump to that last rung.
Thanks.
Comment author was deleted
Hey Richard,
It's always recommended to use the latest Umbraco version, it's indeed due to the fact that MVC support isn't in the version you are using
Cheers,
Tim
is working on a reply...