|
 |
aspx_beginners thread: Set focus at a particular area of the page
Message #1 by "CMY" <my62202@y...> on Tue, 15 Oct 2002 04:04:55
|
|
Hi,
Let's say I'm currently at the end of the page. When I click on a button,
some event happen and the page load again.
How can I set the focus back to the end of the page ? so that I don't
have to scroll down again ?
Thanks a lot for the help.
Message #2 by "Rizwan Bashir" <wet51@h...> on Tue, 15 Oct 2002 06:23:16 +0000
|
|
if you are self posting the form then use a session Variable and make it
true and on load again check for true and set focus where ever you want.and
if you are posting the Record then you can use hidden text box and set its
value.and on coming back post it through querystring and check the value to
set the focus
Rizwan
>From: "CMY" <my62202@y...>
>Reply-To: "aspx_beginners" <aspx_beginners@p...>
>To: "aspx_beginners" <aspx_beginners@p...>
>Subject: [aspx_beginners] Set focus at a particular area of the page
>Date: Tue, 15 Oct 2002 04:04:55
>
>Hi,
>
>Let's say I'm currently at the end of the page. When I click on a button,
>some event happen and the page load again.
>
>How can I set the focus back to the end of the page ? so that I don't
>have to scroll down again ?
>
>Thanks a lot for the help.
>---
>Beginning ASP.NET Databases using VB.NET
>http://www.wrox.com/ACON11.asp?ISBN=1861006195
>
>Beginning ASP.NET Databases using C#
>http://www.wrox.com/ACON11.asp?ISBN=1861007418
>
>These books look at how we can create data-centric ASP.NET
>applications. Requiring some basic knowledge of ASP.NET,
>Access and SQL the authors guide you through the process
>of connecting and consuming information in a variety of
>ways. They are packed full of excellent illustrative code
>examples, demonstrating important fundamental principles.
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
|
|
 |