I have a gridview that has a ButtonField(Insert) that calls a detailsview which allows you to insert data to the gridview. The postback for this buttonField is:
"javascript:__doPostBack('ctl00$POPAContentPlaceHo lder$grdRemarks','Insert$0')", which takes me to the details view and were I click on a 'New' link with it's postback:
"javascript:__doPostBack('ctl00$POPAContentPlaceHo lder$grdRemarks$ctl01$DetailsView2','New$0')"
How can I call the "javascript:__doPostBack('ctl00$POPAContentPlaceHo lder$grdRemarks$ctl01$DetailsView2','New$0')"
from another page. So page1.aspx has the gridview with the detailsview. How can I call from page2.aspx the details view of page1.aspx, "javascript:__doPostBack('ctl00$POPAContentPlaceHo lder$grdRemarks$ctl01$DetailsView2','New$0')".