Nibble

Why Umbraco Rocks - Adding custom usercontrols

Umbraco rocks! Why ?

Reason one:

It’s extremely easy to add custom .net usercontrols to your umbraco site. So you can still take full advantage of the .net framework when working with umbraco. I made a quick screencast showing how to add a .net usercontrol to your umbraco site.

 

image

Demo Project: download

19 Comments so far

  1. Douglas Robar on April 12th, 2008

    This is fantastic! Very nice. Thanks for demonstrating just how easy it is to extend umbraco without needing to get into the umbraco source code at all. You’re right, umbraco rocks!

    cheers,
    doug.

  2. Tim Geyssens on April 12th, 2008

    No problem, you can expect more screencasts to come !

  3. Morten Bock on April 12th, 2008

    Very nice Tim.

    What software did you use to create the screencast? I really like the zoom in/out thing…

  4. Tim Geyssens on April 12th, 2008

    Hey Morten,

    I used Camtasia Studio.

  5. Warren Buckley on April 13th, 2008

    Well done Tim, a great screencast for beginners.

    I think you could probably took it one step further of showing how you could pass a value from a document type or a querystring to the macro parameter.

    //Warren

  6. Tim Geyssens on April 16th, 2008

    Thanks Warren, indeed you are right I should have added on how to pass a property value to the usercontrol. I’ll do an update when I have the time.

    Cheers,
    Tim

  7. Mark Burnham on May 20th, 2008

    Tim,

    Great idea, but looks like the link is down…

    - Mark

  8. Tim Geyssens on May 20th, 2008

    Thanks, for pointing it out, is back up again.

  9. Voir on May 22nd, 2008

    Tim,
    Thanks for this I need to implement several controls using third party dotnet packages (ecommerce, reporting etc), this is a great starting point.

    The only issue I have is the public properties are not showing up when I click the browseproperties button, I have posted to the umbraco forums but so far all I hear back are crickets.

    I’m using umbraco 3.03 and I tried using fckEditor rather than a textbox … it works OK just no properties here is the ascx:

    public string DemoText
    {
    get
    {
    return FCKeditor1.Value;
    }
    set
    {
    FCKeditor1.Value = value;
    }
    }
    public string ToolBarSet
    {
    get
    {
    return FCKeditor1.ToolbarSet;
    }
    set
    {
    FCKeditor1.ToolbarSet = value;
    }
    }

    protected void Button1_Click(object sender, EventArgs e)
    {
    //Do Something
    FCKeditor1.Value = “Cool!”;
    }

  10. Tim Geyssens on May 23rd, 2008

    Hi, Do the public properties get shown when you try another usercontrol ?

  11. Voir on May 26th, 2008

    Yes, browse properties seems to work OK on AutoFormPlus

  12. Voir on May 27th, 2008

    Looks like what I missed is in VS 2008 you have to create a floder in your project for the UserControl, then for some reason a seperate .CS file is created for your ascx file, i don’t know why it works but it seems to

  13. Paul on July 16th, 2008

    Hey, thanks for the screencast, that’s really helpful.

    Still though, it’s quite a complex process don’t you think, just to add dynamic content to an Umbraco page? It should be simpler than that I think. Also, how would you debug that with visual studio?

  14. Tim Geyssens on July 16th, 2008

    @Paul, if you manage your dynamic content with umbraco, there is no need to add custim usercontrols, this screencasts just shows how easy it is to add (existing).net controls to your umbraco site.

  15. Ammu on September 17th, 2008

    Hey Tim, thanks for the screencast, that’s really helpful.

  16. Melissa on October 5th, 2008

    daite na pivo;

  17. Andrew on March 4th, 2009

    Great screencast! Do you have an example using paramters??

  18. judi-sbobet.net on February 1st, 2021

    Mabosbola is an on-line gambling site that provides the the majority of popular soccer gambling and casino video games which may have been set up since 2013.
    Considering that this site came out and provides wagering services to
    just about all customers in Indonesia, Mabosbola has dared to provide deal security to all its official people up to and including nominal enormous amounts of rupiah.

    This is the purpose many world-class gambling game providers
    at the level of Sbobet and Maxbet want to work along with Mabosbola.
    To date, right now there have been several gambling, soccer gambling and online online casino game providers which may have collaborated with Mabosbet, including Sbobet, Nova88, Ion, and WM Casino.

    On this official site, you may appreciate various types associated with
    the best and many popular games, starting up from soccer betting games such as Asian Handicap,
    1X2, or total report or challenging online casino gambling games such as roulette, black jack, sicbo and so on. An individual can get just about all of this by simply registering to turn out to be a member upon the official gambling online site Mabosbola.

    How to Register for an Online Gambling Accounts
    As we discussed earlier, for individuals of you who
    want to enjoy the best games in Indonesia, we recommend
    of which you register as an official associate on the on-line gambling site Mabosbola.
    Besides being easy, you also only need a few moments to
    join up.

  19. Crownslot.blogspot.com on February 5th, 2021

    Tyre of Fortune: Hollywood Edition

    Wheel associated with Fortune is the most effective online
    casino games you can enjoy in 2019, and it also was developed by
    a company often cited because the finest casino developer, IGT.
    If you’ve observed the Wheel associated with Fortune show before, you probably know
    how it takes on. In this online game, you play typically the role of among the contestants, and is actually up to
    you how a lot money you need to guess on each spin.

    this game lets you win a great deal of money if you are fortunate.
    The income can be huge, but you must gamble several cash to get it.

    this game will be amazing for everybody who else is playing the sport and wants to
    take part in the demonstrate as opposed to just watching it on TV
    SET, watching other individuals get excited although they are seated at home.
    When you have actually desired to be a new part
    of typically the Wheel of Lot of money, this online online
    casino may be what you are looking for!

    How Does Wheel associated with Fortune: Hollywood Version Work?

    This sport is in reality a representation of the famous TV
    show, where a person bet the guess and spin the particular wheel.
    Your revenue increase according to just how
    much money a person bet, nonetheless they usually are also tied to be able to the
    payoff a person get.

    As well as that, this particular game has much more features to provide.

    A person get a opportunity to get yourself a random jackpot bonus.
    This will be seen when you spin the jackpot tyre and an symbol appears on the screen - with every spin you make, the jackpot increases.

Leave a Reply