Hi,
Running your example I see nothing. Well, because of Hidden="true" setting. So, I removed it.
Also we do not have "l_reporter". So, I replaced it with:
protected void Page_Load(object sender, EventArgs e)
{
if (!X.IsAjaxRequest)
{
st_cb_reporter.DataSource = new object[]
{
new
{
Name = "Name 1",
Value = "Value 1"
}
};
st_cb_reporter.DataBind();
}
}
Also I add an alert call.
var value = cb_who_report.getValue();
alert(value);
Finally, I select the ComboBox's item and clicked the Button. I see "Value 1" in an alert box. It is expected. I tested with the v2.2 release and with the trunk. Same results with both.
In the next post, please provide a standalone runnable ASPX page which we can copy, paste and run without any change. Also please describe exact steps:
1. Do...
2. Do...
3. etc.
Thank you.