I have TemplateDataField in which contain DropDownList control in WebDataGrid. This DropDownList bind in row initialize event of the WebDataGrid and every post back Grid binds again using DataTable which is stored in a view state but one point on checkbox change event data getting from database and bind the grid ,till that everything working fine. But when I click on button(save button which get all data from grid and save it into database) than no item found in DropDownList, So what is an issue in that?
All controls are in Update panel.
I have two suggestions, bind the list on ItemTemplate creation instead of RowInitialize server event, and also if you are creating the templates dynamically, use Page_Init.
Code snippet: