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
215
Edit and Delete button on UltraWebGrid
posted

Hello,

I'm using UltraWebGrid and my actual situation let me:

  • delete rows using DEL key
  • edit a row making a double click on any cell, using an edit template
  • add a new row and enter data using the edit template, but I have to click the add... button on the bottom of the grid and double clicking the blank row


I would like to:

  • add a button with a "delete image" to delete the row by clicking it (maybe disable the DEL key too)
  • add a button with an "edit image" to edit the row using the template by clicking it and not any other part of the grid
  • add a new row and enter data using the edit template with only one click on the "add button".


This article explain how to do some things I want to do (delete), but not all:

http://dotnetslackers.com/articles/aspnet/QuickGuideToImplementingTheNetAdvantageUltraWebGrid.aspx

And in the infragistics sample page (http://samples.infragistics.com/2008.3/WebFeatureBrowser/Default.aspx) also have an example of a column with an edit image, but looking at the sourcecode I don't know how it creates that button (it isn't a "normal button column"). It also let you edit the row clicking in any part of the row. The example I mean is "WebGrid -> Row Templates".

Thanks in advance