Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1502: The best overloaded method match for 'System.Web.WebPages.WebPageExecutingBase.Write(System.Web.WebPages.HelperResult)' has some invalid arguments
Source Error:
Line 23: @fieldset.GetValue("eventTitle")
Line 24: @fieldset.GetValue("eventLink")
Line 25: @fieldset.GetValue("eventImage").Url
Line 26:
Line 27:
Can't explain it as don't really understand it but found a few answers on another website and managed to combine a few other posts into this and it's now working as expected.
Archetype help
Hi
I'm using Archetype to display a row of images at the top of my site but am struggling getting the image URL out
this is what I have
The @fieldset.GetValue("eventImage") is the problem I just get the image ID, does anyone know how I get the URL of the image.
I'm Using Razor to do this.
thanks.
Hi David,
What if you do something like this would you then get the URL for the image.
Hope this helps,
/Dennis
Thanks Dennis
I did try that but get this error.
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1502: The best overloaded method match for 'System.Web.WebPages.WebPageExecutingBase.Write(System.Web.WebPages.HelperResult)' has some invalid arguments
Source Error:
Line 23: @fieldset.GetValue("eventTitle") Line 24: @fieldset.GetValue("eventLink") Line 25: @fieldset.GetValue("eventImage").Url Line 26:
Line 27:
Just for info I managed to solve this by doing this.
Can't explain it as don't really understand it but found a few answers on another website and managed to combine a few other posts into this and it's now working as expected.
is working on a reply...