I'm creating a RadComboBox programatically and I'm setting the RadComboBoxSelectedIndexChangedEventHandler. The function runs when the RadComboBox is changed, however, I can't seem to figure out how to get the value that it's being changed to. I seem to be one change behind when I'm evaluating it.
My code for the SelectedIndexChanged function is fairly simple
but e.Value gets me the existing value before I change it. I need to get the value it has been changed to. Any ideas? thanks.
My code for the SelectedIndexChanged function is fairly simple
protected
void
dd_RptDate_SelectedIndexChanged(
object
sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
if
(e.Value ==
"DAILY"
)
Session[
"s_datePickers"
] =
"true"
;
else
Session[
"s_datePickers"
] =
"false"
;
}
but e.Value gets me the existing value before I change it. I need to get the value it has been changed to. Any ideas? thanks.