By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,784 Members | 1,248 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,784 IT Pros & Developers. It's quick & easy.

Test if GridView has been databound

P: n/a

I have created a page to display a user's contact information. I would like to
add a GridView to display the user's group membership. I was planning to use a
multiview to segment the contact information from the membership information.
moreover, i don't want to take the performance hit to display the membership
unless the membership 'tab' is visible (rather than doing this on the Page_Load).

I only want to databind the membership's gridview to the datasource when its tab
is first clicked. is there a way to determine if the gridview has been
databound? the rows.count property would see reasonable, but is there another
reliable source of this information?

Thanks,

Craig Buchanan
Sep 29 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.