I have a master page with a TextBox control on it. In the code behind of the said master page, I can't access the TextBox control and assign a text to it. Below is the source code of the master page:
<asp:TextBox CssClass="txt" ID="txtSN" runat="server" ></asp:TextBox>
but in them master page code behind, i can't access to this TextBox Id getting error
txtSn.text=""
why?