This is a migrated thread and some comments may be shown as answers.
Using dropdown to populate grid and get dropdown value for Insert
0 Answers 30 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andy McShane
Top achievements
Rank 1
Andy McShane asked on 18 May 2012, 03:37 PM
Hi, I am using a grid and binding my data using Ajax. At the top of my grid I have a dropdown list of products, when the selection in the dropdown changes my grid is loaded via ajax. Now I know how to bind the datakey for editing a record but I am having trouble when it comes to inserting a record. I am using popup windows and editertemplates for this. What I need to do is when I want to add a record I need have the current value is is selected in the dropdown list so I can the item to the correct producr. How do I pass this value to my editortemplate or my edit action?

PLEASE CLOSE AS I HAVE SUBMITTED A SIMILAR POST
Tags
Grid
Asked by
Andy McShane
Top achievements
Rank 1
Share this question
or