This is a migrated thread and some comments may be shown as answers.

Cancel DataBinding on Initial Load

1 Answer 33 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mitch Wagers
Top achievements
Rank 1
Mitch Wagers asked on 27 Dec 2010, 11:35 PM
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.

1 Answer, 1 is accepted

Sort by
0
Mitch Wagers
Top achievements
Rank 1
answered on 29 Dec 2010, 04:32 PM
Nevermind, problem solved...Simply tie to the Selecting event of the datasource and:

If Not Page.IsPostBack Then
    e.Cancel = True
End If
Tags
Development (API, general questions)
Asked by
Mitch Wagers
Top achievements
Rank 1
Answers by
Mitch Wagers
Top achievements
Rank 1
Share this question
or