I have umbraco 6.0.2 site. Its running in webforms mode and I have a razor macro. In the razor I am trying to call .net usercontrol macro namely Tim Geyssens poll package. So my code looks like:
var umbHelper = new UmbracoHelper(UmbracoContext.Current);
can you check which mode you are in , and what vrsion of Umbraco you are using, I suspect if uou upgrade to one of the newer versions you may have fewer issues
Can you check you are in MVC mode?? I think that might be related to your issue, other wise I am not sure, I''ve also only started to play with version 7..
Error executing child request for handler
Hello,
I have umbraco 6.0.2 site. Its running in webforms mode and I have a razor macro. In the razor I am trying to call .net usercontrol macro namely Tim Geyssens poll package. So my code looks like:
var umbHelper = new UmbracoHelper(UmbracoContext.Current);
<form runat="server">
@umbHelper.RenderMacro("Poll",new {PollNodeId=node.Id,
DisplayOnly=false,
SubmitOnSelect=false,
HideSubmit=true,
SortResults=true,
WidthTotalVotes=false,
HideQuestion=false,
RandomPoll=false})
</form>
on the front end i get error:
Error executing child request for handler 'Umbraco.Web.FormlessPage'.
Any ideas? Can the umbraco helper rendermacro only be called when in mvc mode?
Regards
Ismail
saw this and may be a pointer to wards your issue.. though that's with an older framework..
http://forums.asp.net/t/1636848.aspx/1
I am also having same issue. I have added web form user control
@Umbraco.RenderMacro("BroadcastManagement")
Please guide me.
Thanks,
Amna
can you check which mode you are in , and what vrsion of Umbraco you are using, I suspect if uou upgrade to one of the newer versions you may have fewer issues
Ravi
I am using version 7.0.3...
also getting error
This page is missing a HtmlHead control which is required for the CSS stylesheet link that is being added. Please add <head runat="server" />.
Can you check you are in MVC mode?? I think that might be related to your issue, other wise I am not sure, I''ve also only started to play with version 7..
is working on a reply...