Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Bookmark

Reply
Thread Tools

Bookmark

 
 
Jim McGivney
Guest
Posts: n/a
 
      07-10-2006
In C# code - I need to reposition a page to a bookmark on the same page
named "Base".

I use: Response.Redirect("~/Default.aspx#Base");

This works.
Is there a better way ?
Thanks,
Jim


 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGVtZXRyaQ==?=
Guest
Posts: n/a
 
      07-10-2006
Take a look at the DefaultFocus property of the Form object in your page.
That might be something you can use.

--
-Demetri


"Jim McGivney" wrote:

> In C# code - I need to reposition a page to a bookmark on the same page
> named "Base".
>
> I use: Response.Redirect("~/Default.aspx#Base");
>
> This works.
> Is there a better way ?
> Thanks,
> Jim
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bookmark to open JavaScript console Alvaro G. Vicario Firefox 0 06-18-2004 09:08 PM
bookmark files Bob Holtzman Firefox 1 06-01-2004 11:50 AM
Bookmark extension or plugin for firefox. TIA roadster3043 Firefox 0 05-07-2004 04:15 AM
Firebird bug? Right-click Bookmark menu and subitems won't fold out afterwards Quivis Firefox 5 12-20-2003 10:05 PM
Slow bookmark search Stager Firefox 1 09-23-2003 08:05 PM



Advertisments