title: Access the Label value on Page load in c# when value set through jQuery
body: <p>I am posting this question again, maybe this time more accurate description.</p>
  
  <p>The problem is , I am using jQuery to set the Label's text value and it works fine on browser, but when I want to save it to string, it does not save it. Here is the 
  front End Html Code.</p>
  
  <pre><code>  &lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %&gt;
  
  &lt;!DOCTYPE html&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;script src="jquery-1.9.1.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;
          $(window).load(function () {
              var myNewName = "Ronaldo";
             $('#&lt;%= Label1.ClientID %&gt;').text(myNewName);
  
          });
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
          &lt;asp:Label ID="Label1" runat="server" Text="Label"&gt;&lt;/asp:Label&gt;
  
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And here is the Back End C# Code On Page Load</p>
  
  <pre><code>using System;
  using System.Web.UI;
  
  public partial class _Default : Page
  {
      protected void Page_Load(object sender, EventArgs e)
      {
  
          string mynameCheck = Label1.Text;
          if (mynameCheck=="Ronaldo")
          {
              Response.Write("Yes Name is Fine");
          }
          else
          {
              Response.Write("Name's not Fine");
  
          }
      }
  }
  </code></pre>
  
  <p>The result displayed is </p>
  
  <pre><code>Name's not Fine
  Ronaldo
  </code></pre>
  
  <p>Seems like the string is still Null. Is there any problem of rendering?? </p>