DataGrid and DropDownList
-
I have a DataGrid with a ItemTemplate column that contains a DropDownList that I am dynamically adding items to via the ItemDataBound function and a DataTable. The user then selected from the drop down list for each row and then clicks a save button that posts back. Upon the post back all view state information for the drop down lists is gone. How can I maintain this information on the post back so that I know which item the user selected in each row?
-
I have a DataGrid with a ItemTemplate column that contains a DropDownList that I am dynamically adding items to via the ItemDataBound function and a DataTable. The user then selected from the drop down list for each row and then clicks a save button that posts back. Upon the post back all view state information for the drop down lists is gone. How can I maintain this information on the post back so that I know which item the user selected in each row?
-
I have a DataGrid with a ItemTemplate column that contains a DropDownList that I am dynamically adding items to via the ItemDataBound function and a DataTable. The user then selected from the drop down list for each row and then clicks a save button that posts back. Upon the post back all view state information for the drop down lists is gone. How can I maintain this information on the post back so that I know which item the user selected in each row?
-
I have a DataGrid with a ItemTemplate column that contains a DropDownList that I am dynamically adding items to via the ItemDataBound function and a DataTable. The user then selected from the drop down list for each row and then clicks a save button that posts back. Upon the post back all view state information for the drop down lists is gone. How can I maintain this information on the post back so that I know which item the user selected in each row?