x First time here? Check out the FAQ

Come work for Umbraco - The Umbraco HQ are hiring Project managers, .NET developers and DevOps people!

  • Avatar33posts73karma

    Live Update?

    Ric Carey started this topic January 24, 2012 @ 12:26, Go directly to the topic solution

    Pretty new to asp.net.

    Coming from a php background, razor isnt to dissimilar for me.

    Ive got a macro rending out some images. How can i get then to automatically update on the rendered page? Some sort of Ajax?


    So the user updates them and then the website updates as it happens. I also want to control the change with Jquery.


    Is this possible? Any help is apprectiated.



  • Ismail Mayat posted this reply January 24, 2012 @ 12:42


    By default when new image is added the website will update however it would need a page refresh.  Do you mean page update without refresh? If so then you need to take a look at SignalR see http://joeriks.com/2011/11/21/using-signalr-with-umbraco-to-broadcast-messages-or-chat-15-minutes/ also the page http://our.umbraco.org/now is built using signalR.




  • Ric Carey posted this reply January 24, 2012 @ 12:47

    Ahh Nice One

  • Avatar856posts1571karma
    Comment with ID: 105179
    Jonas Eriksson posted this reply January 25, 2012 @ 12:16

    Hi Ric,

    following up on our short twitter discussion

    so you're doing live image updates on publish with the help of signalR? That is really cool, I would love to read more about how you progress.



    /the link to doc about hooking to publish event http://umbraco.com/follow-us/blog-archive/2008/12/10/working-with-events-in-umbraco-version-4.aspx

  • Avatar770posts1442karma
    Comment with ID: 105435
    Simon Dingley posted this reply January 26, 2012 @ 12:38

    I have simialr requirements for a live updates system to roll out and this looks quite interesting, Ric did you get anywhere with your solution - anything to look out for?

  • Ric Carey posted this reply January 27, 2012 @ 10:11

    I used Jonas' example (http://joeriks.com/2011/11/21/using-signalr-with-umbraco-to-broadcast-messages-or-chat-15-minutes/) and then edited the MyConnections.cs file to send the broadcast on publish. Its really quite a simple plug-in and play kind of system when youve got an example to play with.

    Ill tweet you an example of it in action when im done Jonas.

Please login or Sign up To post replies