Anyone know why when I loop thru my datagrid item list I don't see my
header or footer? I only see the item and alternatingitem types.

The footer definitely exists because I put a dropdownlist in it and
I've captured the index change event in my code behind. It's during
this code that I'm trying to access the footer item and it doesn't
show up.

"Saravana" <saravank@sct.co.in> wrote in message news:<evzXR#ANDHA.2768@tk2msftngp13.phx.gbl>...
> You can access your checkbox control using datagrid items. You can loop
> through datagrid.items method, if it is header item. Then access your
> checkbox control from that datagriditem.
>
> Example
> For Each di In DataGrid1.Items
>
> ' Make sure this is an item and not the header or footer.
>
> If di.ItemType = ListItemType.Header then
>
> dim str as boolean
>
> str = CType(di.FindControl("Checkboxname"), CheckBox).Checked
>
> end if
> next
>
>
> -Saravana
> MCAD,SE,SD,DBA.
>
>
> "Volkan Karaboša" <volkan.karaboga@aktif.com.tr> wrote in message
> news:#j9QYPANDHA.3088@TK2MSFTNGP10.phx.gbl...
> > Hi all...
> >
> > How can I check if a checkbox control which is on the datagridheader is
> > checked??
> > could you help me please...
> >
> >