I am encountering a similar problem to the problem description in forum entry
http://www.telerik.com/community/forums/aspnet-ajax/listbox/selectedindexchanged-does-not-fire.aspx . This problem (the event not firing) has been tested and is "hard and repeatable". It occurs when selecting an item that does not show in the first displayed group of items. For example, I have a listbox with 20 items, but it is only tall enough to show 9 items at a time. Clicking on any of the nine items displayed when the page first loads correctly causes the SelectedIndexChanged event to fire. However, clicking on any item in the list that is below the first 9 will not produce the event and the selected item on screen will return to the originally selected item.
I have seen the code suggested in the above specified forum item which is to be "put on your page", but have no idea where/how to include the code on a web page so that it will run correctly. I have included this code as javascript on the page, but then receive the following error "Microsoft JScript runtime error: 'Sys' is undefined" and have to ignore the error for the page to continue/complete loading.
Once the page loads, the listbox still behaves incorrectly per the problem description at the beginning of this entry. The error "Microsoft JScript runtime error: 'Sys' is undefined" only occurs at page load - which indicates that the javascript does run at page load. It will also occur if I click on an item displayed in the first 9 items. It does NOT occur when I click on item 10 or higher.
This is occurring in "RadControls for ASP.NET AJAX Q2 2009"; Telerik.Web.UI.dll, version 2009.2.701.35; IE 8.0.6001.18828.
If I run the web page in IE8 in "compatibility mode", the listbox functions correctly. This is not a satisfactory resolution.
Thanks in advance for any assistance!
Lynn
http://www.telerik.com/community/forums/aspnet-ajax/listbox/selectedindexchanged-does-not-fire.aspx . This problem (the event not firing) has been tested and is "hard and repeatable". It occurs when selecting an item that does not show in the first displayed group of items. For example, I have a listbox with 20 items, but it is only tall enough to show 9 items at a time. Clicking on any of the nine items displayed when the page first loads correctly causes the SelectedIndexChanged event to fire. However, clicking on any item in the list that is below the first 9 will not produce the event and the selected item on screen will return to the originally selected item.
I have seen the code suggested in the above specified forum item which is to be "put on your page", but have no idea where/how to include the code on a web page so that it will run correctly. I have included this code as javascript on the page, but then receive the following error "Microsoft JScript runtime error: 'Sys' is undefined" and have to ignore the error for the page to continue/complete loading.
Once the page loads, the listbox still behaves incorrectly per the problem description at the beginning of this entry. The error "Microsoft JScript runtime error: 'Sys' is undefined" only occurs at page load - which indicates that the javascript does run at page load. It will also occur if I click on an item displayed in the first 9 items. It does NOT occur when I click on item 10 or higher.
This is occurring in "RadControls for ASP.NET AJAX Q2 2009"; Telerik.Web.UI.dll, version 2009.2.701.35; IE 8.0.6001.18828.
If I run the web page in IE8 in "compatibility mode", the listbox functions correctly. This is not a satisfactory resolution.
Thanks in advance for any assistance!
Lynn