Cancel DataBinding on Initial Load

2 posts, 0 answers
  1. Mitch Wagers
    Mitch Wagers avatar
    5 posts
    Member since:
    Jun 2010

    Posted 27 Dec 2010 Link to this post

    How does one cancel the databinding of the OpenAccessDataSource upon initial page load? We are using a RadGrid bounding to OpenAccessDataSource where there are ~10 million records in the table. I would like to not load the data initially, instead require the user to select through the RadFilter before data is read from the table.

  2. Mitch Wagers
    Mitch Wagers avatar
    5 posts
    Member since:
    Jun 2010

    Posted 29 Dec 2010 Link to this post

    Nevermind, problem solved...Simply tie to the Selecting event of the datasource and:

    If Not Page.IsPostBack Then
        e.Cancel = True
    End If
  3. DevCraft banner
Back to Top