Question : Databinding drop-down controls, order of events issue...

I have two drop down boxes on my asp.net page that either preload with values from the querystring, or defult to database values from my datasource controls.  I'm having trouble setting the values from the querystring because the drop downs aren't filled with any values in PageLoad.  They just seem to databind to their datasources and only show me those default values.  

I'm guessing this is an event order issue.  If so, where do I set the drop down values.  I tried the LoadComplete event and put a breakpoint on my code, and it never even hit it.  Please advise.  Thx -

Justin

Answer : Databinding drop-down controls, order of events issue...

Hello JT_SIRO,

Can you please post the code. i will analyse and tell you where to  put.

What i suggest is after binding the dropdown with the database, you set the values from the querystring. But still the value from the querystring should be in the dropdon items.
Random Solutions  
 
programming4us programming4us