G
Guest
ok i have two forms. Customer.aspx and Parent_Searh.aspx. There is a button
on Customer.aspx that when executed runs javascript code to open up
parent_search as a popup. After the user searches for the parent and finds
the proper parent in the datagrid they then click on the accept button in the
grid. Then I populate a session variable with the parent ID. I then go back
to the main page and have it refresh using:
window.opener.location.href = window.opener.location.href;
and the parent information is displayed on the screen. Problem is the
command above does a refresh and not a postback so when it hits the line
if not ispostback then
it runs that if statement and refreshes all the fields thus losing any info
added before selecting the parent. Question how do i refresh with a postback?
on Customer.aspx that when executed runs javascript code to open up
parent_search as a popup. After the user searches for the parent and finds
the proper parent in the datagrid they then click on the accept button in the
grid. Then I populate a session variable with the parent ID. I then go back
to the main page and have it refresh using:
window.opener.location.href = window.opener.location.href;
and the parent information is displayed on the screen. Problem is the
command above does a refresh and not a postback so when it hits the line
if not ispostback then
it runs that if statement and refreshes all the fields thus losing any info
added before selecting the parent. Question how do i refresh with a postback?