Click here to Skip to main content
15,915,093 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an image button in grid view of abc.aspx page and i have to make its visble property true or false when i will checked a checkbox present in xyz.aspx. how will i do.help
Posted

storing any flag in Session, catch, querystring or other state mode as per requirement and place your logic accordingly.
 
Share this answer
 
Comments
Member 10578683 4-Mar-14 4:32am    
can you give some example or code
C#
// In xyz.aspx page....
string url = "abc.aspx?chkId=" + chk.SelectedItem.Value;
Response.Redirect(url);

// In abc.aspx page....

protected void grv1_RowItemCreated(object sender, GridViewRowEventArgs e)
{
int i = Convert.ToInt32(Request.QueryString["chkId"]);

//Do Something....

}
 
Share this answer
 
v2

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