how can I assign the text of programatically created label to the other label in html body?
<p>RadioButton rb;
       Label lb;</p>

<pre><code>   while (reader.Read())
   {
       rb = new RadioButton();   **//radio buttuns created**   
       lb = new Label();         **// labels created**

       lb.Text = reader[0].ToString(); *// each label's text assigned*
       rb.Attributes.Add("OnClick", "getSelectedAuthor('"+lb.Text.ToString()+"')");
       PlaceHolder1.Controls.Add(rb);   *//when the radio clicked,function called*
       PlaceHolder1.Controls.Add(lb);    *// to set use the text of label*
       PlaceHolder1.Controls.Add(new LiteralControl("&lt;br /&gt;"));

  }
  conAuthorTbl.Close();
</code></pre>

<p><em>//innerthtml does not work for the purpose,//becuse I need to send//Labe2's text to other page, //when I use Response.Redirect(..), //there are no string coming //from Label2</em></p>

<pre><code>&lt;script language="javascript" type="text/javascript"&gt;
     function getSelectedAuthor(text) {
                    document.getElementById("Label2").innerText = text;
                }
&lt;/script&gt;
</code></pre>

<p><em>//the text where I want to set the text</em></p>

<pre><code>   &lt;div&gt;

            &lt;asp:Label ID="Label2"  runat="server" Text="" &gt;&lt;/asp:Label&gt;
        &lt;/div&gt;
</code></pre>
