I have grid which displays users information. I have commandColumn with edit, delete commands. Delete means change users status to archive. What I want is to have delete button in rows with users with status active and restore button (it may be only change in text) in rows with users with status archive.
How can I achieve such functionality ?
Such tasks are possible to implement using the ASPxGridView’s CommandButtonInitialize event. An example of using this event is available at:
http://community.devexpress.com/blogs/aspnet/archive/2009/01/13/how-to-disable-command-buttons-in-aspxgridview.aspx
This event is described in our documentation at:
http://documentation.devexpress.com/#AspNet/DevExpressWebASPxGridViewASPxGridView_CommandButtonInitializetopic