|
-
Oct 23rd, 2004, 12:54 AM
#1
Thread Starter
Frenzied Member
DataList child controls [resolved]
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.
Last edited by blindlizard; Oct 31st, 2004 at 06:13 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|