Gridview row updating newvalues is null

In case the user hits Escape key (27) we will just get out of the edit mode by calling Cancel Edit method.

As Ordered Dictionaries are not so handy for processing, I will create two Hashtables and copy the data for both properties from Ordered Dictionaries to Hashtables.

Still I will let you discover them and invent new ones.

We are going to make our row editable on double click and in order to achieve that we will write down a function (in Java Script) that is going to be associated to the grids client side event called Row Dbl Click. At first we will add in our ASPX file, inside the grid definition a new section that is called Client Side Events (as we already did for other controls) and it will look like: It is that simple!

I will not go in the detail about the environment and developing requirements, if interested jump op to my other posts.

The attached project is written in Visual Studio 2012. Also you will need a Microsoft SQL Server 2012, Express or and more advanced version will be just fine.

Leave a Reply