I have a master page that sets the basic layout of my website. My goal is to change the contents of a specific div on the child page. I am aware that I can achieve this using the following code snippet:
//((HtmlGenericControl)this.Page.Master.Master.FindControl("friends")).InnerHtml = "";
However, I am unable to insert tags using this method. For example, if I want to change the div and add an unordered list.
If anyone knows how I can accomplish this or can provide an example, I would greatly appreciate it. Thank you.