Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ComboBox > RadCombobox stopped getting values

Not answered RadCombobox stopped getting values

Feed from this thread
  • Erol Turk avatar

    Posted on Feb 3, 2012 (permalink)

    Hello 
    I am using Radcontrols on Telerik ASP.net Controls version 2009.2.826.35 and our combobox code stopped working with error code
    Telerik.Web.UI.WebResource.axd:15Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.

    My code of that part can be seen here.  
         <telerik:RadComboBox ID="ddlRoom" runat="server" Style="width: 55px" OnClientSelectedIndexChanged="OnRoomAmountChange">
                            <Items>
                                <telerik:RadComboBoxItem Value="1" Text="1" />
                                <telerik:RadComboBoxItem Value="2" Text="2" />
                                <telerik:RadComboBoxItem Value="3" Text="3" />
                                <telerik:RadComboBoxItem Value="4" Text="4" />
                                <telerik:RadComboBoxItem Value="5" Text="5" />
                            </Items>
         </telerik:RadComboBox>
     
     
    function OnRoomAmountChange() {
                var radRoom = $find('<%= ddlRoom.ClientID %>');
                if (radRoom == null) return;
                var numberOfRoom = parseInt(radRoom.get_value());
                if (numberOfRoom == undefined || isNaN(numberOfRoom)) numberOfRoom = 1;
                var count = 1;
                $('.RoomArea').hide();
                $('.RoomArea').each(function() {
                    $(this).show();
                    if (count == numberOfRoom) return false;
                    count++;
                });
            }

    working (meant not working ) sample can be found at 

    http://detur.se/125/HotelDetailResult.aspx when selecting "Rum" number different than 1. 




    Reply

  • Kate Kate admin's avatar

    Posted on Feb 6, 2012 (permalink)

    Hi Erol,

    Thanks for the live url. I noticed that there is a javascript error that occurs when the page is loaded (see the attached image) that might be causing the improper behavior of the site. Try to fix it and see how it goes.  Unfortunately, the version of the Telerik controls that you are using is no longer under development and does not support the latest versions of the common browsers (please refer to this post that explains in details the life cycle of our controls). In order to get adequate support for the latest browsers it is needed to upgrade to the asp.net ajax controls.

    Kind regards,
    Kate
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ComboBox > RadCombobox stopped getting values
Related resources for "RadCombobox stopped getting values"

ASP.NET ComboBox Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]