I'm building an aspx page in which the user enters some data in a text box and clicks a button. At this point I'd like to create and populate the grid and add the grid to a PlaceHolder on the page. Can all of this happen within the button click event - most of the examples build the grid in the Page Load or Init events? I can get this to sort of work. The grid is created, populated, and displayed, however, when I click to expand a row, the page does a postback and the grid disappears.
Any ideas on why this is happening or a better way to implement a solution?
Any ideas on why this is happening or a better way to implement a solution?