title: Response.Redirect in HTML
body: <p>How can I set the following dynamically created HTML to redirect to <code>mypage.aspx</code> ?</p>
  
  <pre><code> Dim s As String = "        &lt;div style=""float: left; width: 716px; height: 25px; ""&gt;"
  s += "        &lt;button type=""button"" id=""btnRedirect"" style=""float: right; width: 100px; font-size:12px;"" &gt;Redirect&lt;/button&gt;"
  s += "        &lt;/div&gt;"
   ScriptManager.RegisterStartupScript(Me.Page, Me.GetType(), "temp1", "&lt;script type='text/javascript'&gt; $('" + s + "').dialog({width: 750, height: 400,resizable: false});&lt;/script&gt;", False)
  </code></pre>