Hi t01779393200,
Refer below sample code.
HTML
<asp:HyperLink ID="HyperLink1" runat="server">HyperLink</asp:HyperLink>
<script type="text/javascript">
window.onload = function () {
setTimeout(function () {
document.getElementById('<%=HyperLink1.ClientID %>').click();
}, 5000);
};
</script>
Code
C#
protected void Page_Load(object sender, EventArgs e)
{
HyperLink1.Text = "asp net good site";
HyperLink1.NavigateUrl = "https://www.aspsnippets.com/";
}
VB.Net
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
HyperLink1.Text = "asp net good site"
HyperLink1.NavigateUrl = "https://www.aspsnippets.com/"
End Sub
Screenshot