How to solve the call is ambiguous issue in Belle RC Version?
Hi,
I am having issues running this partial page in my template. The error that I am getting is -
The call is ambiguous between the following methods or properties: 'Umbraco.Web.UmbracoHelper.Content(params int[])' and 'Umbraco.Web.UmbracoHelper.Content(params string[])'
How can I solve this one as both seems to be referring the same i.e. Umbraco.Web.UmbracoHelper.Content.
@if (CurrentPage.hideBanner == false) { <!-- Banner --> <div class="jumbotron" style="background: url('@CurrentPage.bannerBackgroundImage') center center no-repeat"> <h1>@Umbraco.Field("agBannerHeader")</h1> //ERROR <p class="lead">@Umbraco.Field("agBannerSubheader")</p> <p><a class="btn btn-lg btn-success" href="@Umbraco.Content(CurrentPage.BannerLink).Url" role="button">@Umbraco.Field("bannerLinkText")Get started today</a></p> </div> <!-- /Banner --> }
How to solve the call is ambiguous issue in Belle RC Version?
Hi,
I am having issues running this partial page in my template. The error that I am getting is -
The call is ambiguous between the following methods or properties: 'Umbraco.Web.UmbracoHelper.Content(params int[])' and 'Umbraco.Web.UmbracoHelper.Content(params string[])'
How can I solve this one as both seems to be referring the same i.e. Umbraco.Web.UmbracoHelper.Content.
I have posted a bug report and a workaround which worked for me at:
http://issues.umbraco.org/issue/U4-3633
is working on a reply...