This is a migrated thread and some comments may be shown as answers.

Init and Viewstate

2 Answers 103 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 19 Feb 2009, 10:03 PM
As a quick test I made a page with a regular ASP.NET dropdown and added an event handler to its Init event. Then in that event handler I created a large array of strings and used DataSource and DataBind() to populate the dropdown with the data. When I do this the Viewstate of the page is nearly empty.

But when I do the same thing with a RadComboBox the Viewstate is huge. Is there any way to do a normal data bind with the RadComboBox before Viewstate tracking starts and have it work the same way as the normal ASP.NET controls (preferably without disabling Viewstate on the entire control)?

2 Answers, 1 is accepted

Sort by
0
Brad
Top achievements
Rank 1
answered on 19 Feb 2009, 10:19 PM
Actually, even setting EnableViewState="false" on the RadComboBox doesn't make any difference.
0
Brad
Top achievements
Rank 1
answered on 02 Mar 2009, 09:38 PM
Has anyone had this issue before? Any work arounds?
Tags
ComboBox
Asked by
Brad
Top achievements
Rank 1
Answers by
Brad
Top achievements
Rank 1
Share this question
or