Copied to clipboard

Flag this post as spam?

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


  • vijay 1 post 21 karma points
    Dec 04, 2009 @ 07:18
    vijay
    0

    How to make user control as Datatype?

    Hello all,

                I am new to Umbraco.I want to know how to make my user control as datatype.I am stuck there.So i need help to solve that.If possible any one please send sample project explaining step by step. or please send any documentation.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Dec 04, 2009 @ 08:37
    Jeroen Breuer
    0

    You can create a new datatype and select the Umbraco UserControl Wrapper as the rendertype. Then you can select your usercontrol and it should work :).

    Here you can find more info: http://www.nibble.be/?p=24

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Dec 04, 2009 @ 08:37
    Thomas Höhler
    0

    The easiest way is to use the umbraco usercontrol wrapper:

    Put the usercontrol in the usercontrols folder, got to the developer section, rightclick on datatypes, new datatype, give it a name you like, choose ok, choose umbraco usercontrol wrapper as rendercontrol, save, choose you usercontrol as usercontrol and save again.

    This way the usercontrol cannot be used for canvas...

    hth, Thomas

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Dec 04, 2009 @ 08:38
    Thomas Höhler
    0

    wow, 15 seconds behind *g*

Please Sign in or register to post replies

Write your reply to:

Draft