Selection out of range -not in grid or form

3 posts, 1 answers
  1. Robot B9
    Robot B9 avatar
    13 posts
    Member since:
    Oct 2011

    Posted 07 Nov 2011 Link to this post

    I have combobox that is EnableAutomaticLoadOnDemand=true
    It is not in a grid or a form, and the object and events for the combo are available via the .NET code pickboxes.
    Every so often the Selection out of range Parameter name: value  exception will rear it's ugly head.
    I was driving three other radgrid on my page without problem. This exception will show weather the combo is part of hte ajaxmanager or not. I read that clearing the combo will solve this, but all this is set to automatic.
    See combo config below:

    <telerik:RadComboBox runat="server" ID="ddlEmployee" DataSourceID="dsEmployeeID"
                                EmptyMessage="Select an Employee"
                                    <table style="width: 350px; text-align: left">
                                            <td style="width: 110px;">Last Name</td>
                                            <td style="width: 110px;">First Name</td>
                                            <td style="width: 130px;">Employee ID</td>
                                    <table style="width: 315px; text-align: left">
                                            <td style="width: 125px;">
                                                <%#DataBinder.Eval(Container.DataItem, "LName")%>
                                            <td style="width: 125px;">
                                                <%#DataBinder.Eval(Container.DataItem, "FName")%>
                                            <td style="width: 100px;">
                                                <%#DataBinder.Eval(Container.DataItem, "EmpID")%>
  2. Answer
    Dimitar Terziev
    Dimitar Terziev avatar
    1268 posts

    Posted 10 Nov 2011 Link to this post

    Hello Mark,

    The mark-up of the RadComboBox seems right and I there is not obvious reason for the received exception. Please open a support ticket and provide a runnable sample with the issue being reproduced so I could troubleshoot it locally.

    Dimitar Terziev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. Robot B9
    Robot B9 avatar
    13 posts
    Member since:
    Oct 2011

    Posted 11 Nov 2011 Link to this post

    It is ok.
    This is a non-issue. I should've trouble-shooted this item further, which I did.
    It was a rad combo box on the page, but not the one that I posted above. I had forgotten that I had added another to the page and it was in a formview. This one was causing the page error because the data in the form record was not in the combobox for a particular field. It is working beautifully now.
    Thank you.
Back to Top