resetting combo box value in runtime C#2008
hi i am working on a grid view that contains a combo having values populating from database when the grid load data, initially the combo dont have any value(to be attached after rows retrieved) when user select any value and after leaving that row if he wants to deattach the value i want it to be done by using escape key if the user press escape key the combo value should be changed to null/blank as it was originally after retrieneing rows
thanks in advance
faraz akramPosted Jul 5, 2009, 5:14 AM
ArshadPosted Jul 3, 2009, 7:06 PM
Add this java script below in the head
After that Call this Function on the Body tag for the OnkeyPress some thing like below
So As per your requirent it will work, After presing the ESC it will Select the Blank Value in the DropDownList. It will work.
Regards
Arshad.