I created a master page where i added a listitem , i,e ;
function fProposal() {
debugger;
document.getElementById("LookupId").href = "/Lookups/Lookups.aspx?Id=LookupId";
}
this in maste page with javascript
=======================??????????????===========================Now i want to access this id form a child page and want to add the css proparty.
i did this one,
=======================================================
string v = Request.QueryString["Id"];
// ContentPlaceHolder cph = (ContentPlaceHolder)this.Master.FindControl("ContentPlaceHolder1");
// HtmlControl li = (HtmlGenericControl)cph.FindControl(v);
// HtmlControl li = (HtmlGenericControl)FindControl("UpdatePanel1");
// li.Attributes.Add("class", "active");
//if (li != null)
// this.hide.style.Add("display", "none");
this is the child page where i want to change...
=============================================================
but it is completely error ...
can any one help me....plz ???


Sameer ShaikRank #1,826 · 812 reputationPosted Apr 17, 2017, 11:02 PM EDT
Suvendu Shekhar GiriRank #546 · 4.4K reputationPosted Apr 17, 2017, 10:51 PM EDT
Anilananda ChakraborttyRank #3,903 · 381 reputationPosted Apr 17, 2017, 11:00 PM EDT