Gridview strange question
-
OK here is the deal. I have a gridview and I have some items in it. I have checkboxes on the extreme left (the first column) which enables the user to make selection. Now the thing is that I have achieved a way to get the row on which it is selected and I turn the row to a different color lets say orange. Now I want to make sure that the when the user selects another checkbox, the rest of the checkboxes should automatically be deselected. Now I know you will suggest me to use a radio button instead however I wish to do it with checkbox itself... Any kind of help will be appreciated... OK I agree this is a strange question but strange things are the best way to learn something. And this is not a homework question. I am banging my head to get this solved... :D
Always Keep Smiling. Yours Pankaj Nikam
-
OK here is the deal. I have a gridview and I have some items in it. I have checkboxes on the extreme left (the first column) which enables the user to make selection. Now the thing is that I have achieved a way to get the row on which it is selected and I turn the row to a different color lets say orange. Now I want to make sure that the when the user selects another checkbox, the rest of the checkboxes should automatically be deselected. Now I know you will suggest me to use a radio button instead however I wish to do it with checkbox itself... Any kind of help will be appreciated... OK I agree this is a strange question but strange things are the best way to learn something. And this is not a homework question. I am banging my head to get this solved... :D
Always Keep Smiling. Yours Pankaj Nikam
While you are looping items on GridView make unselect for each row except selected row. Or put your code here to see what you did so far.
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post. www.cacttus.com