How to access Datalist Footer's Control

  • Thread starter Thread starter Kaung Htut O via DotNetMonster.com
  • Start date Start date
K

Kaung Htut O via DotNetMonster.com

Hi to all
Is there a way to access Datalist Footer's Control properties from outside
of datalist event. Pls note that I mean not a datagrid, only for datalist.
Thanks
Kaung Htut Oo
 
Try DataList.Items[DataList.Items.Count-1].Controls collection (assuming
Footer is the last item in the Items collection).

message
Hi to all
Is there a way to access Datalist Footer's Control properties from outside
of datalist event. Pls note that I mean not a datagrid, only for datalist.
Thanks
Kaung Htut Oo
 
No OK. Datalist.items contains data only, not includes footer and header
item. If u have another ways, pls inform me. Datagrid.items include both of
data and footer, header.
Thanks,
Kaung Htut Oo
(e-mail address removed)
 
Above code is OK only for datagrid, nor for datalist bacause datalist.items
collection not include footer, header item.
If u have another way, pls inform me.
Kaung Htut Oo
(e-mail address removed)


Siva said:
Try DataList.Items[DataList.Items.Count-1].Controls collection (assuming
Footer is the last item in the Items collection).

Hi to all
Is there a way to access Datalist Footer's Control properties from outside
of datalist event. Pls note that I mean not a datagrid, only for datalist.
Thanks
Kaung Htut Oo
 
Hi to all
I found the answer of my thread at http://www.dotnetmonster.com by
searching "DataList Footer" keywords.
Regards
Kaung Htut Oo
Myanmar
(e-mail address removed)



Kaung Htut O via DotNetMonster.com said:
Above code is OK only for datagrid, nor for datalist bacause datalist.items
collection not include footer, header item.
If u have another way, pls inform me.
Kaung Htut Oo
(e-mail address removed)


Siva said:
Try DataList.Items[DataList.Items.Count-1].Controls collection (assuming
Footer is the last item in the Items collection).

Hi to all
Is there a way to access Datalist Footer's Control properties from outside
of datalist event. Pls note that I mean not a datagrid, only for datalist.
Thanks
Kaung Htut Oo
 
Back
Top