473,508 Members | 2,214 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Binding Lost Datagrid Scrolling

Why does my dGrid_CurrentCellChanged() event lose datagrid location settings
(dGrid.CurrentRowIndex and totalRowsInGrid become 0) when the user scrolls
the datagrid. (note: I perform this.bindcontext[].position = row in this
event)

Should I somehow use dGrid_Scroll() event?
How can I prevent the CurrentCellChanged() event from occuring when scrolling?

Steve
Nov 16 '05 #1
1 1196
ignore - solved

"Steve B." wrote:
Why does my dGrid_CurrentCellChanged() event lose datagrid location settings
(dGrid.CurrentRowIndex and totalRowsInGrid become 0) when the user scrolls
the datagrid. (note: I perform this.bindcontext[].position = row in this
event)

Should I somehow use dGrid_Scroll() event?
How can I prevent the CurrentCellChanged() event from occuring when scrolling?

Steve

Nov 16 '05 #2

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

Similar topics

1
353
by: Eyal | last post by:
Hello, i have a datafrid with more rows then can be seen in it,i know how to select the row with the 'currentRowIndex' but it doesnt move the row into the visible section ,can anyone help me with...
1
1533
by: Deepa | last post by:
I am doing an ASP.Net application wherein I have a datagrid which I need to populate dynamically. The grid has 5 rows and two columns. In the 2nd col I need to insert dropdown boxes. I'll have to...
1
4974
by: john sutor | last post by:
Does anyone know if you can display vertical scroll or horizontal scroll bars on the datagrid ???
3
2078
by: Luis Arvayo | last post by:
Does anyone have one example binding a DataGrid that implements the interface IListSource or IList ? I need to implement binding to a DataGrid but by means of not using a DataTable because the...
1
1214
by: Parveen | last post by:
I noticed that any formatting of the grid before data binding is lost after the grid is bound to a data table in the dataset. Is it possible to format the appearance of the data that shows up in...
1
1148
by: Tom | last post by:
I have tried all the solutions I have found on the web, including the syncfusion solutions I can get the combobox on the grid ok, but it does not behave like a regular combobox Example On a form,...
1
2321
by: John Bayly via .NET 247 | last post by:
I'm working on an inherited Datagrid class that includes afunction called onMouseMove to paint the row under the cursor tomake reading easier for users. To paint the row, the function sets the...
6
5721
by: p.mc | last post by:
Hi all, I'm having major problems with a userControl which contains a datagrid. My problem concerns data binding. The Page_Load() procedure calls the DataBind procedure to bind the datagrid...
1
2217
by: renuami | last post by:
Hi I am receiving Object reference not set to an instance of an Object when binding Child dataGrid in the ItemCommandEvent of Parent dataGrid. Can someone please guide me what is wrong in the...
0
7132
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
7336
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,...
1
7063
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
7504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5640
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
5059
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
3211
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
432
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.