Test if GridView has been databound

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Craig Buchanan

    Test if GridView has been databound


    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
Working...