Thank you!
I've added controls to my datagrid's footer and pager. And now I can
customize them at item's Create or DataBound events. But I cannot find
a method to access these controls after, for example, after postback.
DataGrid.Items contains only normal item rows. The header/footer/pagers
are not included in this collection. My datagrid has several controls
on the footer row and I do postback using some button. And within
this button's Click event handler I need to examine content of these
controls. Any ideas?
Also, in several articles about adding controls to the pager, for example,
I saw that before dynamically adding a control, authors check out whether
this control was added in prior round trips. They says that the datagrid
can save previously added control and without checking this, it may
lead to duplicate controls. In my code I don't check it and all work
normally: no duplicated/doubled controls. Anybody can explain this?