This is a migrated thread and some comments may be shown as answers.

load on demand - there is no row at position

1 Answer 107 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
XiMnet Malaysia
Top achievements
Rank 1
XiMnet Malaysia asked on 09 Oct 2009, 02:46 PM
Hi Support,

I was trying the example of combobox load on demand.
However, i get a Javascript alert message when there is no match found instead of "No Match found" message under the combobox. How can I fix this? I have tried latest version and also latest internal build

Screencap:
http://www.ximnet.com.my/telerik_support_screens/combobox%20demand%20search.png

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 12 Oct 2009, 10:08 AM
Hello XiMnet Malaysia,

This error can occur if you a DataTable in the ItemsRequested event handler contains no Rows and you are trying to access one, perhaps by index.

Please make sure that there is data in the DataTable, i.e. the respective SELECT data base query returns results or do not access any Rows otherwise.

Regards,
Simon
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ComboBox
Asked by
XiMnet Malaysia
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or