.oCountyDropDownList.SelectedValue is always empty. The dropdownlist is bound using an XML Data source. It is bound in the onprerender, which according to trace is executed AFTER the getfilterbuilder method.
2) The viewstate of the dropdownlist is never maintained.
How do you store the controls properties in the viewstate exactly? The dropdown list control is a composite control, which has other controls (list items), that said it cannot be stored in a viewstate automatically. You should for example store all items in a string, separated with a comma, and finally put that string into the viewstate. When you read the view state, you should bind the dropdown again from the list of saved values.
3) I believe the
.GetContentStartIndex() is stored in the viewstate somewhere. If I get the pager to work using a little hack, lets say I am on page 3 of the results. If I then re-submit the form by selecting a different state from the dropdown list, the pager remains on page 3.
You are right. It comes from the CurrentPage:
currentPage = 1;
obj = ViewState[
(value < 1)
] = value;
You can manipulate the CurrentPage from the viewstate by all means.
I hope this helps, and sorry for the delayed reply.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items