hi Navalemanoj0405,
You can do something like this.
Let us say that you have two link button in your "masterpage.master" and you want to control the textbox of your content page like you want to set it to enable or disable.
So in your master page,
<asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/contentpage.aspx?action=Enable">Enable Textbox</asp:LinkButton>
<asp:LinkButton ID="LinkButton2" runat="server" PostBackUrl="~/contentpage.aspx?action=Disable">Disable Textbox</asp:LinkButton>
in your contentpage.aspx
<asp:TextBox ID="txtToControl" runat="server"></asp:TextBox>
and in your contentpage.aspx.vb page load event put this
If Page.Request.QueryString("action") = "Enable" Then
txtToControl.Enabled = True
ElseIf Page.Request.QueryString("action") = "Disable" Then
txtToControl.Enabled = False
End If
You can now control the textbox in your content page true the link button of your masterpage.
Hope this helps.
Navalemanoj0405, if this helps please login to Mark As Answer. | Alert Moderator