Overriding GridView Using LinqDataSource
I have a gridview that uses a LinqDataSource for this data source. I added a FooterTemplate so that users can insert new records. The Add button has a command name that places the values ββin the Dictionary list and then calls the LinqDataSource.Insert () method. This works great. But the gridview is never automatically updated with a new row. I am using the LinqDataSource.Selecting event for initial data binding. I tried LinqDataSource.Bind () and GridView.Bind () but the gridview never gets updated. Any idea how to restore the GridView?
Note. I am not using UpdateDate panel, just postback / update without ajax
+1
source to share