135
rated 0 times
[
136]
[
1]
/ answers: 1 / hits: 15360
/ 10 Years ago, wed, march 12, 2014, 12:00:00
I am trying to access control in Master page from Content page(Asp.net) using javascript like this
alert(document.getElementById('<%=((Label)Master.FindControl(lbl)).ClientID %>').value);
control in Master page is as follow,
<asp:Label ID=lbl runat=server Text=one></asp:Label>
But unfortunately it is not working. I am getting undefined value
More From » asp.net