Copied to clipboard

Flag this post as spam?

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


  • steweir 34 posts 54 karma points
    Sep 15, 2011 @ 01:05
    steweir
    0

    Sidebar Widgets

    i have been trying to follow this blog post to get a sidebar with widgets however im getting errors when i simply past the code into umbraco 

     error CS0118: 'System.Web.UI.Control' is a 'type' but is used like a 'variable

    i would just like to know if the method described in the blog post still works on the latest version of umbraco and if so how do i fix this error. if however there is a better more up to date method could someone point me in the right direction for that.

    thanks :)

     

  • Sebastiaan Janssen 5045 posts 15477 karma points MVP admin hq
    Sep 15, 2011 @ 13:39
    Sebastiaan Janssen
    0

    I don't see why it shouldn't work, so yeah, still a valid method. Any particular reason you decided to put this into the Razor forum? This is not code that you can use in Razor directly.

     

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Sep 15, 2011 @ 13:44
    Lee Kelleher
    0

    Hi steweir,

    You could take a look at the RenderTemplate control in uComponents too? Might be easier to implement?

    Cheers, Lee.

     

Please Sign in or register to post replies

Write your reply to:

Draft