Click here to Skip to main content
15,917,645 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have 2 ASPxComboBox controls. Based on one combo, I want to fill the other. I'm using Ajax callback concept. With that, in code behind, I'm able to get the selected value of first combo. And then, I want to know, how to bind the second combo which is connected to a SqlDataSource with select stored procedure. I want to change the default value of the SqlDataSource & then bind it. I did as follows. But unable to bind.

SQL
SqlDataSource2.SelectParameters["input4"].DefaultValue = "combo1Value";
       secondCombo.DataBind();


Thanks in advance
Posted
Updated 28-Mar-14 6:11am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900