Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

i have two pages like onepage.aspx, twopage.aspx, in onepage.aspx have lable, button how find these control in twopage.aspx page.

In onepage.aspx have button,and button_click event also . how to find this button is clicked or not in twopage.aspx page.Please tell me any one.


Thanks
Posted

 
Share this answer
 
 
Share this answer
 
you can only find controls from first page to second page when you are use
Server.Transfer("secondpage.aspx");


and on second page
Page.PreviousPage.FindControl("ControlName")
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900