开发者

Obout.com ComboBox "Failed to load viewstate" error

开发者 https://www.devze.com 2023-02-03 20:15 出处:网络
I have just downloaded Obout.com suite controls for ASP.NET 3.5 and 4.0. I made this because I wanted a DropDown with images near items.

I have just downloaded Obout.com suite controls for ASP.NET 3.5 and 4.0. I made this because I wanted a DropDown with images near items.

It is working well, but, still in the examples, when you set AutoPostBack property to true, and you select an item from the ComboBox controls you get the following error:

"Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the cont开发者_运维技巧rols added during a post-back must match the type and position of the controls added during the initial request."

I'm using VS2010 Ultimate Edition,

Any help would be greatly appreciated!


Never used that suite but can recommend a good alternative: Image Combobox Jquery plugin. Thus you'll be able to use the standard ASP.NET DropDownList control.

0

精彩评论

暂无评论...
验证码 换一张
取 消