Telerik radlistbox fires both OnClientItemChecked and OnClientSelectedIndexChanged when an item is checked in Firefox and IE but not in Chrome.
Chrome seems to have the proper behavior. Is there a reason for this? Can I make IE and Firefox behave accordingly as well?
Some more context;
This radlistbox gets loaded in an ascx panel.
<telerik:RadListBox CheckBoxes="true" EnableDragAndDrop="True" Height="400"
ID="radListBox0" OnClientItemChecked="OnClientItemChecked"
OnClientSelectedIndexChanged="OnClientSelectedIndexChanged" runat="server"
SelectionMode="Single" Visible="true" Width="275" />
And here is the Javascript it calls declared within the same ascx file:
<telerik:RadCodeBlock ID="radCodeBlock" runat="server">
<script type="text/javascript">
function OnClientSelectedIndexChanged(sender, eventArgs) {
var ajaxManager =
$find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>");
var t = sender._clientStateFieldID;
if (ajaxManager != null)
ajaxManager.ajaxRequest("ListBoxIndexChanged|" + t);
}
function OnClientItemChecked(sender, eventArgs) {
}
</script>
</telerik:RadCodeBlock>
9/22/2010 17:03 EDIT: So I'm on the latest version as in the first response. Still no luck. I did what I should have done first and tried just a vanilla radlistbox on a blank aspx page. There was no error there so I'm guessing that it has to do because the control problems is built inside an modal popup on a page with multiple layers of custom controls and even master pages. At least I know it's not Telerik now.