Quote:
Originally Posted by acoder
When opening the window, send a reference to the child window, e.g. "add.aspx?id=td1". Then you can use this id to ref. the table cell that the iuse clicked on. One way to get this id is to use:
Then in the child window, use
- window.opener.document.getElementById(id)
to refer to the table cell. Use the innerHTML property to change the table cell and you're done!
Does not appear to work.
Ok. I need a way to preserve the controls i create even if I postback. I mean, I visit the page - enter the no of row and the no of columns. Click a link button which causes to post back. I test, in the Page_Load to see whether it is a postback, if it is I generate dynamic controls that represent the table. [Table, TableCell(s), TableRow(s)]. Now after that I need to again post back but I don't want to loose the dynamically created controls. Is there a way to preserve the dynamically created controls and their values over postbacks??
Please help.
Regards.