I have a DataGrid that I populate from a DataTable. In the FooterTemplate, I have 2 LinkButtons. How do I control the LinkButtons? When I try to access them directly like:
lnkbtnPrev.Visible = False
I get an error saying 'Object reference not set to an instance of an object' Now, I think I need to use the DataList's Controls collection, but I am unsure of how. I thought it would be"
dlstNews.Controls.Item(1).Visible = False
but that didn't do anything.
