I tried this and didn't get an error...could you send me the page (.aspx and .aspx.cs files) so I can see what you've done?
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com