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

NeedDataSource Question

2 Answers 24 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Craig Hinkel
Top achievements
Rank 1
Craig Hinkel asked on 01 Oct 2008, 02:27 PM
I'm utilizing the NeedDataSource event, however, on page load, I do not want this to automatically load data. Instead, I have a submit button the user clicks on after they select some criteria. How would you handle such scenario?

thanks!

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 01 Oct 2008, 02:34 PM
Hi Craig,

You can set Visible = false for initial load and Visible = true in button click event handler. You need to call also Rebind()!

Regards,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Craig Hinkel
Top achievements
Rank 1
answered on 01 Oct 2008, 02:37 PM
perfect, thank you for the quick response!
Tags
Grid
Asked by
Craig Hinkel
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Craig Hinkel
Top achievements
Rank 1
Share this question
or