Which event of combo box I should use-----------Urgent
-
Iam new to ASP.Net, I have designed a form which contains a combo box and some text boxes and a Gridview. Now When Iam Executing the program it will displays complete records in the Grid in the Pageload Event. But when I change my text in Combo Box it is not refreshing the Data according to the Selection of Combo Box. So, Which event I should use for the above problem? I used "SelectedIndexChanged" Event for changing the data in the gridview according to the selection of Combo Box but it is not updating the details in the Gridview. Thanx in advance
-
Iam new to ASP.Net, I have designed a form which contains a combo box and some text boxes and a Gridview. Now When Iam Executing the program it will displays complete records in the Grid in the Pageload Event. But when I change my text in Combo Box it is not refreshing the Data according to the Selection of Combo Box. So, Which event I should use for the above problem? I used "SelectedIndexChanged" Event for changing the data in the gridview according to the selection of Combo Box but it is not updating the details in the Gridview. Thanx in advance
Check 1)have u set autopostback=true for the dropdownlist 2)in the page load event check wether it is a pageload or postback by writing like if(!ispostback==true) { } this thing may assist u....:rose:
-
Iam new to ASP.Net, I have designed a form which contains a combo box and some text boxes and a Gridview. Now When Iam Executing the program it will displays complete records in the Grid in the Pageload Event. But when I change my text in Combo Box it is not refreshing the Data according to the Selection of Combo Box. So, Which event I should use for the above problem? I used "SelectedIndexChanged" Event for changing the data in the gridview according to the selection of Combo Box but it is not updating the details in the Gridview. Thanx in advance
- Set autopostback of the dropdown to true
- make the pageload functions in ispostback
- write the selected index changed event for drop down
Navaneeth My Website
-
Iam new to ASP.Net, I have designed a form which contains a combo box and some text boxes and a Gridview. Now When Iam Executing the program it will displays complete records in the Grid in the Pageload Event. But when I change my text in Combo Box it is not refreshing the Data according to the Selection of Combo Box. So, Which event I should use for the above problem? I used "SelectedIndexChanged" Event for changing the data in the gridview according to the selection of Combo Box but it is not updating the details in the Gridview. Thanx in advance
Good thing you said urgent, if you didn't people would have waited a long time before they replied. I urgently suggest you try what they told you to do.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo