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.



Demo Project: download

17 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!


  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.


  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.


  7. Mark Burnham on May 20th, 2008


    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

    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
    return FCKeditor1.Value;
    FCKeditor1.Value = value;
    public string ToolBarSet
    return FCKeditor1.ToolbarSet;
    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??

Leave a Reply