Dropdown to GridView (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


truwebs -> Dropdown to GridView (3/13/2007 10:11:01)

Well I have never tried this with FP, so the concept is new with EW.

I have a dropdown that is populated from db Category table.

I have a gridview that is populated from db Movie table.

This is a relational database. Each control has it's own datasource set.

After making a choice from dropdown, I would like the gridview appear based on the choice from dropdown.

I do not want the gridview to appear until a choice has been made from the dropdown.

Anybody done something like this before that they would like to share a solution?

TRU




mar0364 -> RE: Dropdown to GridView (3/13/2007 12:25:51)

Check the properties tab of the gridview you should be able to set those properties there.




truwebs -> RE: Dropdown to GridView (3/13/2007 20:17:33)

Thanks for the reply.

My final solution has been to pass the selected value of the dropdown to the gridview. For the gridview datasource I had to modify the SQL statement WHERE to accept the value from the dropdown.

I hope this is has value to somebody else in the future.

TRU




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625