如何将以下动态创建的 HTML 设置为重定向到mypage.aspx
?
Dim s As String = " <div style=""float: left; width: 716px; height: 25px; "">"
s += " <button type=""button"" id=""btnRedirect"" style=""float: right; width: 100px; font-size:12px;"" >Redirect</button>"
s += " </div>"
ScriptManager.RegisterStartupScript(Me.Page, Me.GetType(), "temp1", "<script type='text/javascript'> $('" + s + "').dialog({width: 750, height: 400,resizable: false});</script>", False)