Hi all,
I have one requirement in which i have to enable check box for the particular data and disable the check for other data in gridview.
For example,
In gridview there is one column called id. If the id == "Ferry" then the check box should be enable for that and for others it should be disable. I have to show it on grid view. I have written code in active method of datasource. It is working fine.
But the problem is for the first time all the checkboxes are disabled. And then when i go to the record where the id is "Ferry" it is allowing to edit. But the user will initially see it as disabled.
How to do this? Can anybody help?