How to retain the value for the drop down.
Hi
I have a form view. Inside the form view I have a drop down. I do not use Object data source. Instead I assign the datasource at the code behind. If I change the value of the drop down I show a text box beside it and user can enter value. Upon onblur event of this text box I call a javascript and submit the page.
Upon post back I once again bind the entered value and make the selected value as the entered value. If the user clicks the save link I could not get the selected of the drop down.
I even tried using javascript and I was able to successfully add the value to the drop down and make it selected. But when I look for the selected value I get nothing.
Please help me in this regard
Thanks
Janakiraman
|