Hi all,
I need to delete the row in the data grid based on the type in a particular column. The delete button is in the template column. so in need to delete the particular row based on the request eg. if the fix is closed i need to delete the particular row otherwise i need not to delete. Kindly provide any input so that it will be useful to complete
hi Jayanthan,
Are you saying that you would like the delete button that you have in the template column to be disabled or enabled based on a specific condition? For example if the fix is closed, it needs to be enabled, but an end user still needs to click that delete button?
Thanks,
Angel
Let me know if you need any further assistance with this scenario. Thanks
Hi,
I need to delete the particular row using the delete button inside the template column.
Jayanthan
ok, you can refer to this article, the javascript code is basically what you need to hook to the Delete Button's OnClientClick:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2012.1/CLR4.0/html/WebDataGrid_Using_Item_Template.html
thanks angel it help me to resolve the issue.
Jayanthan,
did this help ? Thanks