I needed to conditionally disable the Standard Delete Action Button of a grid. Lat say the view associated with the grid is MyView. I can get some of the grid action buttons’ names like the Upload button using something like “MyView$ImportAction”. I need the same for the grid Delete Action Button. So I am trying “MyView$DeleteAction” and “MyView$Delete but seems nothing exists that I can Enable/Disable in the RowSelected event. If that was for the whole grid I could just simply set its Cache.AllowDelete = false but I need only disable on specific lines. Any idea how can I make this work?
Best answer by Yuriy Zaletskyy
View original