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

Change datasource with dropdown and button click

1 Answer 81 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 20 Oct 2008, 04:44 PM
I have a page with 2 combo boxes, a button and a radGrid.
When the user enters the page, they must select a Client and a Course from the drop down lists.  After they selected from the drop downs, they click a button.
After the button click the radGrid is filled by code behind connected to stored procedures.

The user can then select a new client and/or a new course, and after clicking the button, the radGrid is supposed to requery the database with the stored procedure to give different results.

My problem is the radGrid is not changing.  The page reloads, but the grid is the same.

I have tried recalling the function that loads the dataset.
I have set radGrid.Datasource = null;

I have used ClearBeforeFill on the adapter, before I fill it with the typed dataset.
I also use Dispose() after I set teh DataSource for the radGrid.

Any help would be appreciated.

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 21 Oct 2008, 08:45 AM
Hello Mike,

Please share with us the code which is supposed to work in order to provide more to-the-point answer.

Best regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Mike
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or