This is a migrated thread and some comments may be shown as answers.

populate hierarchical grid on button click event

1 Answer 114 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jonathan Medley
Top achievements
Rank 1
Jonathan Medley asked on 02 Jun 2008, 01:04 PM
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?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 Jun 2008, 06:56 AM
Hi,

Go through the following help document link.
Programmatic creation

Shinu.
Tags
Grid
Asked by
Jonathan Medley
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or