It took me a bit to figure this one out so I'd figured I'd post my solution. If anybody knows of an easier way please update.
I basically just wanted to get the filter text typed into a RadComboBox if the form was posted without a selection being made with the filter text still in the box.
If you grab the client state of the posted RadComboBox, then deserialize the JSON into an object you can grab the text:
James
I basically just wanted to get the filter text typed into a RadComboBox if the form was posted without a selection being made with the filter text still in the box.
If you grab the client state of the posted RadComboBox, then deserialize the JSON into an object you can grab the text:
public class comboBoxClientSate { public string[] logEntries { get; set; } public string value { get; set; } public string text { get; set; } public bool enabled { get; set; } public string[] checkedIndices { get; set; } public bool checkedItemsTextOverflows { get; set; } }String clientState = Request.Form[(ComboBoxID.ClientID + "_ClientState"];comboBoxClientSate ComboBoxIDClientState = new JavaScriptSerializer().Deserialize<comboBoxClientSate>(clientState); //this should be the entered filter textComboBoxIDClientState .textJames