I am trying to create a website that will allow sharing photos (as a basic project), and i encountered a problem. On my masterPage there are links with category names and I need that when i click on one of them I would get a Value into a variable in a child page (in the css code page). I am pretty new to masterpages and have no idea how to do so, i tried in some ways but just couldn't. As an example:
A string variable in the css section of the child page "Gallery.aspx" that would get the value of the category name when it's clicked in the masterpage.
Hyperlink hh=(Hyperlink)Master.FindControl("control_name");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.