Copied to clipboard

Flag this post as spam?

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


  • Tom 713 posts 954 karma points
    Mar 08, 2011 @ 00:48
    Tom
    0

    Where have the docs gone?

    I do recall there used to be a section on getting started with tutorials on usercontrol macros and xslt macros and stuff.. im just trying to work our what your standard usercontrol inherits from in order to get access to do login located on the base page..

     

     

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Mar 08, 2011 @ 08:31
    Sebastiaan Janssen
    0

    I'm not sure what you're trying to do, but the docs were mostly merged into the new wiki.

  • Tom 713 posts 954 karma points
    Mar 08, 2011 @ 23:29
    Tom
    0

    Hi Sebastiaan,

    just trying to leverage some of the basepage functionality in a user control.. if that's possible..

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Mar 09, 2011 @ 10:17
    Sebastiaan Janssen
    0

    I haven't tested it, but you can just do something like this in a usercontrol I think (using umbraco.BusinessLogic):

    umbraco.BasePages.BasePage.doLogin(new User(userId));
  • Ove Andersen 435 posts 1541 karma points c-trib
    Mar 09, 2011 @ 10:26
    Ove Andersen
    0

    I think you can just use a standard UserControl class.

    As Sebastiaan said, you can just do a reference to umbraco.BusinessLogic and then you have access to most the stuff you need.

    Take a look at here for a simple introduction to developing a custom usercontrol:
    http://www.eyecatch.no/projects/my-first-umbraco-usercontrol.aspx

Please Sign in or register to post replies

Write your reply to:

Draft