The current RadFormDecorator version addresses this problem automatically, and no code needs to be used.
Please download and try the latest available RadControls for ASP.NET AJAX and give it a try.
In case there is a problem, please open a support ticket and send us a sample page that reproduces the problem - we will get back to you with a solution.
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.