In ASP.NET1.1 C# syntax, you can add in Page_Load:
this.RegisterStartupScript ("navigateto","<script
type='text/javascript'>document.location.href='#Test';</script>");
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Ken Slight" wrote:
> Hello. Does anyone know how to navigate to a specific anchor within an ASPX
> page? For example, I have <a name='Test'>Hey there</a>, and I want to direct
> someone to that anchor in the PageLoad using code. In other words, if
> someone navigates to the default.aspx page, I want to immediately take them
> to the #Test anchor.
>
> Thanks,
>
>
> Ken
>