Button click event but from another page

I have 2 aspx pages. page1.aspx pops up page2.aspx.
Page2.aspx has a gridview with checkboxes. Page2.aspx also has an "Add" button.
When user clicks gridview's checkboxes and clicks "Add", I want ***PAGE1.ASPX*** to get the list of rowIDs (rows that were checked) from gridview.

Is this possible?? Is it possible for page2.aspx to communicate with page1.aspx when button on page1.aspx is clicked??
LVL 7
CamilliaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
AllamzConnect With a Mentor Commented:
Hello Farzadw,

you can do this through session, after the user clicks add in page2.aspx save the ID's in a session and redirect back to page1.aspx or close page2.aspx and the values will be saved in the session.

Best Regards,

Mohamed Allam
Senior Solution Developer
0
 
CamilliaAuthor Commented:
Salam Mohamed, Let me think about this. I might have a question/
0
 
AllamzCommented:
Salam Farzadw,

Take your time and don't hesitate to ask if you need anything.

Best Regards,

Mohamed Allam
Senior Solution Developer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.