Infragistics UltraWebGrid Delete Server Side
Posted on 2009-07-01
I have an UltraWebGrid which is totally read-only - I guess I could just use a table but the Grid seemed to be easier to configure. I add rows/cells manually and this is all working ok. I also have a 'Delete' button beneath the grid.
The idea is that when I click the Delete button a code behing function is called which will pickup the active row and then delete the item defined by this from a server side file. I am niot mapping the file to the grid however as I have to massage the data before display.
My problem is that the click of the delete key causes a postback to call the code behind and this causes the grid to lose the active cell which is always set to nothing by the time the code behind function is called.
If I call a client side function first I could store the name of the item to be deleted but how could I then pass this back to the server side so that the back-end file can be updated?
Starting to not like the UltraWebGrid!