hi...
i have take a gridview to display data..
and create one function to hide "Delete" button in specific records of gridview..
for that delete button i use the gridview's GridView_RowCommand Event
its working well...
bt when i use the update or paging operation it shows the delete button in every record
what to do..??

kalpesh BhadaniPosted Apr 8, 2010, 2:39 PM
you need to put a link button in itemtemplate and bind the link button with command argument and text
after that if column contains a particular text at that time you can hide the delete button..
hope u understand..
Dipa AhujaPosted Apr 5, 2010, 8:34 AM
but i tried that also in pageindexingchanging & pageindexingchanged but it doesn't work
but it worked by calling that function in GridView1_DataBound
RujutaPosted Apr 5, 2010, 2:33 AM
You need to call the same function of hiding the delete button on the pageindexchanging event of the gridview....