Wednesday, August 11, 2010

How to hide autogenerateedit button in gridview control in asp.net using vb?

i am using autogenerate delete and edit save button in gridview control in asp.net using vb i want to hide that buttons based on users


i have 3 users for to allow edit and delete process so i want to hide or disable for other users to delete and edit with coding and program explain detaily





advanced thanks


How to hide autogenerateedit button in gridview control in asp.net using vb?
When the page where grid resides ,u check for the use id,then there is item data bind event try to get the button column from checking the item type,and item data,then you can type caste to the button and dynamically you can visible true or false it.

No comments:

Post a Comment