Although I change the text of label it still returns initial value, how can I solve?
<p>Although I assign the text to the label (lblDoc), for </p>

<pre><code>&lt;%FillRpt(rpt, lblDoc.Text , UserId);%&gt;
</code></pre>

<p>lblDoc.Text is Label.</p>

<pre><code>&lt;asp:Label ID="lblDoc" runat="server" Text="Label" Visible="false"&gt;&lt;/asp:Label&gt;
</code></pre>

<p>I changed the Text value but still it return "Label". How can I change it?</p>

<p>the case is below:</p>

<pre><code> $.ajax({
                type: "POST",
                url: "FileManager.aspx/foo",
                data: "{}",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function(msg) {
                    $("#&lt;%=lblDoc.ClientID%&gt;").text(selectedPath);
                    &lt;%FillRpt(rpt, lblDoc.Text , UserId);%&gt;
                },
          });
</code></pre>
