It may be able to be done, but if not, you can use javascript to do it. If you add a dropdown list outside the grid and add the attribute style="display:none" to hide it. Then add a javascript handler from one of the dropdowns in the grid, call a webservice method to get a list of appropriate options for the hidden dropdown list. Populate the hidden dropdown list once the webservice returns, and then move to be in the same row as the orignating dropdown. Then change the style.display = ''. Now if you have multiple dropdowns in each row, and do this for all of them, it will disapear and reapear to the calling dropdown liost which may look goofy. To solve this create an hidden dropdown outside the gridview, for each dropdown in the row that you ar going to use.
Let me know if this makes sense.
-Alan
No comments:
Post a Comment