I am using following source code for Editing & deleting the records.
<
telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderStyle-HorizontalAlign="Left" HeaderText="Edit" ItemStyle-orizontalAlign="Left">
<HeaderStyle HorizontalAlign="Left" Width="30px" />
<ItemStyle HorizontalAlign="Left" />
</telerik:GridEditCommandColumn>
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" ConfirmDialogHeight="100px" ConfirmDialogType="RadWindow" Visible="true" ConfirmDialogWidth="220px" ConfirmText="Are you sure you want to delete this Material Issue Request?" ConfirmTitle="Delete" HeaderStyle-HorizontalAlign="Left" HeaderStyle-VerticalAlign="NotSet" HeaderText="Delete" ItemStyle-HorizontalAlign="Left">
<HeaderStyle HorizontalAlign="Left" Width="38px"/>
<ItemStyle HorizontalAlign="Left" />
</telerik:GridButtonColumn>
My requirement is that based on some status field from database i would like to enable/disable these Edit,Delete buttons.
How to get these control Id's & how to enable/disable these controls.
Thanks in advance...