Search code examples
asp.netdatarepeater

How Use Item in Header Of Repeater in ASP.net with C#2008


I Use a CheckBox in Header of Column and that coulmn is Container Cehckboxes too .

I want to Use a chechBox in header in Repeater , and when This Control is Checked ,checkboxes of rows is checked .

How do I do This?


Solution

  • CheckBox Checkall = SendBoxrep.Controls[0].Controls[0].FindControl("Checkall") as CheckBox;