The Grid View 'x' fired event Row Deleting which wasn't handled... I have a button that inserts a new employee record in the northwind db using LINQ.
Data Bind() now When I go throw other pages I see this The Grid View ' Grid View1' fired event Page Index Changing which wasn't handled. Sincerely sam When you manually bind Data Set to Grid View, we'll need ... Hello, I have a datagrid that displays the employees table in Northwind.
Wasn't it always encouraged to separate Data Layer from the presentation? Do I need to have code in them for the error to stop? Is there a page property that is requitred for hooking up events to work? Your code for row editing handler, I though for the row to go to edit mode I don't have to do anything, right?If you can understand the row editing method I showed in my previous post I think you can figure out the way to implement other events? I have a Data Access Layer that returns a dataset, then I bound the Grid View to the dataset's first table as below DGV_DAL. That is why it is preferable to define the event handlers in the HTML, since they will be re-attached when the page posts back. is it possible to use it while keeping my data access in my DAL component? I am not too comfortable with defining things at design time - I guess because it is lack of knowledge.Hi, I have created a second gridview when customer clicks on select link with this code: Protected Sub Grid View1_Row Command(By Val sender As Object, By Val e As System. In the example in the book, this would make all columns in the Grid View sortable. The Grid View ' Grid View1' fired event Row Editing which wasn't handled.