User Profile & Activity

ASP.Net Member
Posted: September 29, 2009 4:23 AM

Thanks for the response. But, how do we trap this error on the server side as well? Because we have this unhandled error getting logged in our error log whenever this error happens and our client wants us to handle this error.

Posted: August 26, 2009 9:48 AM

Looks like you missed out some of the code. Could you paste the complete code. 

From your error description it looks like, may be you have set the same DataKeyField IDTableA for both the grids and this might be creating a problem as the other grid does not have this column in its datasource.

Posted: August 26, 2009 9:40 AM

How are you loading the data the gets bound to the grid? Because, in scenarios where we can bind a Dataset/DataTable in the InitializeDataSource event, we can just specify a composite primary key for the Datatable with those two columns and then the grid will consider both these columns as DataKeyFields.

All times are GMT -5. The time now is 1:47 AM.
Previous Next