I am creating one page in which I have 2 dropdown list boxes. I should populate the second Dropdown based on the text selected in the first dropdown box. So for this what is the technique I should use. please help me out in this.
You'd want to hook the SelectedIndexChanged event of ListBox1 and then populate ListBox2 based off of the SelectedItem of ListBox1. You need to make sure that AutoPostBack is set to true for ListBox1.
You'd want to hook the SelectedIndexChanged event of ListBox1 and then populate ListBox2 based off of the SelectedItem of ListBox1. You need to make sure that AutoPostBack is set to true for ListBox1.
BigTuna99
Hi dotnetmate,
Next time if you got a problem about ASP.net, Recommend posting the question on the forum http://forums.asp.net, there ASP.NET experts can give you satisfying answers.