Press Ctrl / CMD + C to copy this to your clipboard.
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.
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.
Ahh Nice One
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
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?
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.
Write your reply to:
Image will be uploaded when post is submitted