Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ismail Mayat 4511 posts 10090 karma points MVP 2x admin c-trib
    Apr 19, 2013 @ 16:36
    Ismail Mayat
    0

    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

  • Ravi Motha 290 posts 500 karma points MVP 7x c-trib
    Apr 19, 2013 @ 16:55
    Ravi Motha
    0

    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

  • Amna 3 posts 23 karma points
    May 16, 2014 @ 11:46
    Amna
    0

    I am also having same issue. I have added web form user control 

     @Umbraco.RenderMacro("BroadcastManagement")

    Please guide me.

    Thanks,

    Amna

     

  • Ravi Motha 290 posts 500 karma points MVP 7x c-trib
    May 16, 2014 @ 11:51
    Ravi Motha
    0

    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

  • Amna 3 posts 23 karma points
    May 16, 2014 @ 12:08
    Amna
    0

    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" />.

     

  • Ravi Motha 290 posts 500 karma points MVP 7x c-trib
    May 16, 2014 @ 12:47
    Ravi Motha
    0

    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..

Please Sign in or register to post replies

Write your reply to:

Draft