DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 13 Aug 2007 10:53:54 +0500,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    luqman
          2    Masudur


Page scrolls up on update ?   
Whenever I Insert or Update the GridView Control, the page scrolls up.

I have about 50 Rows in GridView and say, when I edit the Row No. 45 and
click on Update Button of the GridView, the page refreshes itself and goes
to the top row, how can I restrict this Page to position to the last edited
Row. Is is something related to ViewState Property  ?

Best Regards,

Luqman
Date:Mon, 13 Aug 2007 10:53:54 +0500   Author:  

Re: Page scrolls up on update ?   
On Aug 13, 11:53 am, "luqman"  wrote:

> Whenever I Insert or Update the GridView Control, the page scrolls up.
>
> I have about 50 Rows in GridView and say, when I edit the Row No. 45 and
> click on Update Button of the GridView, the page refreshes itself and goes
> to the top row, how can I restrict this Page to position to the last edited
> Row. Is is something related to ViewState Property  ?
>
> Best Regards,
>
> Luqman


Hi...

set your pages MaintainScrollPositionOnPostback attribute to true...

Thanks
Md. Masudur Rahman (Munna)
Kaz Software Ltd.
www.kaz.com.bd
http://munnacs.110mb.com
Date:Mon, 13 Aug 2007 06:05:20 -0000   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us