How to set a custom grid property
I have two grids in a page, say grid1 and grid2. Grid1 contains only one row to enter search criteria and grid2 displays the search results. Within my code I wish to set a custom property for grid1 object. something like the example shown below
gird1.setchild = grid2;
How can I create such a custom property for the grid.