Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
530
Problem Deleting rows manually
posted

Hi,

I have a 2-level grid with a template field as the last column, which also has a button. I am deleting the row manually from the database on the button's onclick event. The reason I am doing this is because I am binding my grid to a generic list of objects.

When I delete the row and databind the grid, I am getting this exception:

Unable to cast object of type 'Infragistics.Web.UI.Framework.Data.DataRecord' to type 'System.Web.UI.IHierarchyData'

Any help would be great!

Marshal