Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

i am using DevXpress AspxGridView and add a checkboxes inside it.
In the bneath of AspxGridView add one button. click of this button, i need to find a checkboxes of ASPXgridview. please help me.
Posted
Updated 31-Mar-12 21:31pm
v4

1 solution

Hi ,
Hope it help you
C#
foreach (GridViewRow row in GridView1.Rows)
      {
          if (((CheckBox)row.FindControl("checkbox1")) is CheckBox)
          {
              if (((CheckBox)row.FindControl("checkbox1")).Checked == true)
              {
              //do somthing
              }
              else
              {
                  //do somthing
              }
          }
      }

Best regards
M.Mitwalli
 
Share this answer
 
Comments
nawabprince 1-Apr-12 3:31am    
Sorry sir, It is about simple gridview that i already knew, But I am using aspxgridview of devexpress.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900