pass a textbox value to a label inside a grid view on a button click in asp.net 4 and C# <p>I have 2 asp:panels. One asp:panel contains a textbox and button whose code is as follows</p> <pre><code> &lt;asp:TextBox ID="tbGoal" runat="server" CssClass="textbox" Width="222px" Height="26px"&gt;&lt;/asp:TextBox&gt;&lt;br /&gt; &lt;asp:Button ID="btnUpdate" runat="server" Text="Update Goal" CssClass="button" OnClick="btnUpdate_Click" /&gt; /* **************************************************************************** * CODE BEHIND * ******************************************************************************** */ protected void btnUpdate_Click(object sender, EventArgs e) { // I am trying to pass the updated textbox value to a label which is inside a GridView // which is inside the second ASP:PANEL } </code></pre> <p>Can someone tell me if this is possible. Appreciate it</p>