Hi,
I have been working with the most recently released version of the WebDataGrid and currently have it bound to a data source which gets it's data from SQL.
Everything is working fine, until the the datasource return 0 rows. Normally I would expect to see the grid with just column headers according to the bound data fields I have set up, but instead I receive a KeyNotFoundException.
After doing some testing to narrow down the cause, I determined that having the FilterType set to ExcelStyleFilter was causing the error. When I changed this to RowFilter, the grid loaded correctly with 0 rows and did not throw an error.
To confirm, this error only occurs when the datasource return 0 rows, and ExcelStyleFilter is used.
Any thoughts would be appreciated.
Hello ahunot,
I created new support ticket: CAS-92621-87HKN8 and linked bug #108833 with it. You will be automatically notified after the bug is fixed and the Service Release is avaiable for download.
Even we are facing the same issue "key Not found" exception. We were breaking our head for a week or more , trying to fix this.
But i am so disappointed.
regarding issue, it was throwing error in my Jquery JS, the last Find statement,
Thanks for the info anyways! Saved some time.
I am experiencing the exact same problem with the WDG and Excel=Style filtering using the latest release. When the SqlDataSource has 0 rows the KeyNotFoundException Occurs. Has this been targeted for repair?
Hi Cody Campbell,
This is CTP and will not be fixed in 12.1. You will need to upgrade to 12.2 when that is released shortly.
regards,David Young
Actually, it looks like this particular bug was fixed in 12.1. Do you have the latest Service Release?
I am using 12.1 release and the issue still exists..
Thanks
I am on 2012.1