Test if GridView has been databound

C

Craig Buchanan

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top