473,471 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

stable DataGrid!

Hello,
I have this data grid that is meant to update data in sqlServer
which Does update very well only have one problem with it:
the user wants to update a column that is like 50th on the table,
he will scroll down get the column and when he presses edit,
the dropdownlist will come properly but it Scrolls back to the
beginning of the table. So the user will have again have to scroll
again down to Be able to update wich is not what I want.
I actually want when the user presses edit the Data grid
should remain intact I mean not to moove. Hope you'll Understand my
problem.
Thank you very much

Jan 3 '07 #1
2 1165
In .Net v1, turn on smartNavigation ie; in the HTML page

<%@ Page language="c#" Codebehind="myPage.aspx.cs"
AutoEventWireup="false" Inherits="myNameSpace.myPage" debug="True"
smartNavigation="True"%>
OR

in .Net v2, we turn a similar thing on, ie;

<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default2.aspx.cs" Inherits="Default2"
MaintainScrollPositionOnPostback="true"%>
hope that works

Dave.

rcoco wrote:
Hello,
I have this data grid that is meant to update data in sqlServer
which Does update very well only have one problem with it:
the user wants to update a column that is like 50th on the table,
he will scroll down get the column and when he presses edit,
the dropdownlist will come properly but it Scrolls back to the
beginning of the table. So the user will have again have to scroll
again down to Be able to update wich is not what I want.
I actually want when the user presses edit the Data grid
should remain intact I mean not to moove. Hope you'll Understand my
problem.
Thank you very much
Jan 3 '07 #2
Thanks very much,
It worked very well..
Thanks again.
Code Monkey wrote:
In .Net v1, turn on smartNavigation ie; in the HTML page

<%@ Page language="c#" Codebehind="myPage.aspx.cs"
AutoEventWireup="false" Inherits="myNameSpace.myPage" debug="True"
smartNavigation="True"%>
OR

in .Net v2, we turn a similar thing on, ie;

<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default2.aspx.cs" Inherits="Default2"
MaintainScrollPositionOnPostback="true"%>
hope that works

Dave.

rcoco wrote:
Hello,
I have this data grid that is meant to update data in sqlServer
which Does update very well only have one problem with it:
the user wants to update a column that is like 50th on the table,
he will scroll down get the column and when he presses edit,
the dropdownlist will come properly but it Scrolls back to the
beginning of the table. So the user will have again have to scroll
again down to Be able to update wich is not what I want.
I actually want when the user presses edit the Data grid
should remain intact I mean not to moove. Hope you'll Understand my
problem.
Thank you very much
Jan 4 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Meetul Kinarivala | last post by:
Hello, I went to the PHP download page and found two versions: 4.3.10 AND 5.0.3 It does not talk about which one is the most stable. Please help Mike
11
by: Viktor | last post by:
Which GUI is the most stable one? I don't need any fancy looking widgets (look and feel doesn't realy matter to me), I "just" need it to be rock stable and fast...
38
by: Aaron W. LaFramboise | last post by:
Hello, I understand that an easy way to make the standard std::priority_queue stable is by including an integer stamp with each node that is incremented each time a new node is pushed into the...
2
by: cody | last post by:
I need a sort method for stable sorting, that is, if two values have the same value they won't be swapped. Will there be such a thing in whidbey? -- cody www.deutronium.de.vu ||...
2
by: Carlos | last post by:
I have to implement a application that use Serial COM ports and I was thinking to use VS2005, but I wan to know is that is true that is stable ? I heard that the release date is November 7 2005 and...
3
by: George | last post by:
I am A major VB6 coder and have never done any .NET stuff. I am about to make the leap and think i will start with VB 2005 that comes in the VS 2005 Beta. Have people found it stable enough to...
8
by: Frank van Vugt | last post by:
Hi, If during a transaction a number of deferred triggers are fired, what will be their execution order upon the commit? Will they be executed in order of firing or alfabetically or...
30
by: gaoxtwarrior | last post by:
a sort which is stable means it keeps the object's original order. A sort which is in place is stable. does anyone can explain me what is sort in place? thx.
9
by: Gary Brown | last post by:
Hi, I need a stable sort and can find none in the MS libraries. Is there a simple one available on the internet? It needed for sorting various lists of maybe 1K elements - mostly ListView...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.