asp.net - Keep drop down value in edit mode of datagrid same even when user clicks between different controls -


this question related scenario.i have datagrid editable. 1 of columns drop down list when in edit mode. out of data grid have 2 radio buttons (open,all). (outside grid,not within column)default open selected. based on selected radio button , list drop down in edit mode changes. suppose grid in edit mode , open selected. selected value of "a" show in drop down. chosen value. user clicks on "all" , list varies. "a" no longer present in list when "all" selected (works intended). grid still in edit mode user clicks on "open". should see "a" selected value drop down. (when grid not in edit mode "a" value binded column.so when edit clicked drop down appears "a" selected value).

my question how save/preserve original value there when edit clicked. user has neither hit cancel or update yet. can hide in list,making invisible or how? important thing when user clicks on "all" , should not see "a" in drop down. if need more information, please ask. thanks


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -