Thursday, August 28, 2008

Telerik Watch Minute: Highly Optimized RadEditor Auto Save

In this week's longer than usual update (about 5 minutes total), I bring you some essential news updates and then show you quickly how to build a highly optimized auto save form with RadEditor and WCF. The form utilizes RadEditor's rich client-side API to implement a non-intrusive auto save feature that only saves content when an user stops typing. And WCF is used to persist data back to the server so that communication is light-weight and highly optimized (if we use "normal" ASP.NET AJAX UpdatePanels, a ton of unnecessary data would be included in our saves...specifically, ViewState).

I apologize for "streching" the TWM format a little longer than normal; hopefully the more complete demo will make it worth your time. You can download the files for the demo (including a trial version of the RadControls for ASP.NET AJAX Q2 2008 SP1) below.

Download Auto Save demo project

4 comments:

Anonymous said...

Hi Todd, nice and quick - I like it.

A common problem with your videos is that the do not play in full-screen mode - how come?

Todd Anglin said...

@Anon- Not sure what you mean. If you click the last button in the player (looks like 4 arrows), the player will expand to full-screen mode. And I -highly- recommend that for viewing the code demos as the video is all HD and plays best full-screen.

Hope that helps!

Anonymous said...

This is a great post but it is a pain in the rear-end to get this in a VS2010 project and get it running....

Unknown said...

Hey, Great job with the demo.

However, I'm having a problem with getting the example to run.

The auto save works fine, but the service always returns "null" regardless of whether the save succeeds.

Why is the service always returning "null"; it should be returning true or false. Is this a serialization issue?