Copied to clipboard

Flag this post as spam?

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


  • Mikael Mørup 297 posts 326 karma points
    Sep 06, 2011 @ 14:36
    Mikael Mørup
    0

    Component one Iphone controls

    I'm trying to use the ComponentOne iPhone controls in a usercontrol, that ends up in an Umbraco macro.

    What i want is to have an alternate template for iPhone users that looks like a native iPhone app.

    I can create the macro and everything looks normal but when i try to open the page created on the template with the macro i get this YSOD:

    [NullReferenceException: Objektreferencen er ikke indstillet til en forekomst af et objekt.]
    C1.Web.iPhone.

    C1ThemeableControl.a(String A_0, String A_1, Boolean A_2) +51
    C1.Web.iPhone.C1ThemeableControl.OnPreRender(EventArgs e) +92
    C1.Web.iPhone.C1ViewPort.C1ViewPort.OnPreRender(EventArgs e) +14
    System.Web.UI.Control.PreRenderRecursiveInternal() +103
    System.Web.UI.Control.PreRenderRecursiveInternal() +175
    System.Web.UI.Control.PreRenderRecursiveInternal() +175
    System.Web.UI.Control.PreRenderRecursiveInternal() +175
    System.Web.UI.Control.PreRenderRecursiveInternal() +175
    System.Web.UI.Control.PreRenderRecursiveInternal() +175
    System.Web.UI.Control.PreRenderRecursiveInternal() +175
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
    Has anybody tried to do something like this ?
    Any hints?
    Thanks
    Mikael

     

  • Raleigh 3 posts 24 karma points
    Sep 06, 2011 @ 18:44
    Raleigh
    0

    Hi Mikael,

    I've never seen this error before.  I'm fairly new to Umbraco, but if you can send details of how to reproduce the issue, I'd be happy to look into the problem more.

    Also, what browser and version are you using for testing, and what version of the Studio for iPhone controls are you using?

    Thanks,

    -Raleigh

  • Mikael Mørup 297 posts 326 karma points
    Sep 07, 2011 @ 08:08
    Mikael Mørup
    0

    I have tested with both Firefox and Safari in the newest versions.

    Umbraco is version 4.7, also newest version

  • Raleigh 3 posts 24 karma points
    Sep 07, 2011 @ 18:43
    Raleigh
    0

    Hi Mikael,

    I was able to reproduce the issue on my end and I will talk with the developers at C1 to resolve the problem.  I will let you know when I have any updates.

    Thanks,

    -Raleigh

  • Raleigh 3 posts 24 karma points
    Sep 09, 2011 @ 20:32
    Raleigh
    1

    Hi Mikael,

    The issue on my end was that the head section needed a runtat="server" attribute.  Can you check and see if that is the case for you as well? 

    Thanks,

    -Raleigh

  • Mikael Mørup 297 posts 326 karma points
    Sep 10, 2011 @ 10:37
    Mikael Mørup
    0

    Thanks for checking.

     

    I will check it. Unfortunately i can't do so until monday morning.

     

    Mikael

  • Mikael Mørup 297 posts 326 karma points
    Sep 12, 2011 @ 10:05
    Mikael Mørup
    0

    Yep.

     

    Just confirmed that i works with both a form and head with runat="server"

    Thanks

     

    Mikael

Please Sign in or register to post replies

Write your reply to:

Draft