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

Setting ItemSource crashes my App in production

1 Answer 25 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 10 Aug 2012, 03:55 PM
Hi..
When I set the itemsource on my App on the production server crashes. I have try /catch around the  code but it never hits the catch.

I get a general .Net unhandled exception and my app crashes.

here's the line
     this.gridUnassigned.ItemsSource = query.ToList();

Retrieving the data causes no errors.. the above line causes the app to crash. I even removed the formatting / binding of the grid
and that did not help

any ideas???   Help

I can't debug it on the prod server.. using Visual Studio

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 13 Aug 2012, 06:57 AM
Hello,

This would not be an expected behaviour. Would you please do a simple test to check what happens when you use a MS DataGrid instead? May I ask you to share what is the full stack trace for the exception?

All the best,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Jon
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or