473,473 Members | 1,963 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

datagrid and ProcessKeyPreview()

Raj
Windows application C#: I have a datagrid, in the 2nd column the user has to
press the enter key between the contents and once entered the data from the
cursor point till end should move to next line and removing those content
from the first line.

I am able to achive this by overrideing ProcessKeyPReview method but
randomly the contents of the previous lines are displayed in next line not
the removed contents(contents are removed from the first line). This happens
very much randomly can any body let me know why excatly this is happening

Any help will be appreciated
Jun 14 '06 #1
0 1740

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

Similar topics

6
by: Erald Kulk | last post by:
is it possible to turn off the multiselect in a Datagrid? if yes, how? Erald Kulk
3
by: Tomas R | last post by:
Really weird. The ordinary plus/minus works, but not the ones on the numpad?! What I've bound to the datagrid is a DataView with a few columns having numeric values with datatype Int32. (Comming...
2
by: Tom | last post by:
Hi, I have been through all kinds of documentation on the datagrid and dataviews. I have many expensive books that I have looked through. But nothing has really helped. I want to find out and...
5
by: Mojtaba Faridzad | last post by:
Hi, with SetDataBinding( ) a DataGrid shows a DataView. user can select some rows in the grid by holding cotrol key. when user clicks on Delete button, I should delete all selected rows. I am...
1
by: Randy | last post by:
Hello All, I'm trying to trap the enter key in my dataGrid using the event... aColumnTextColumn.TextBox.KeyPress += new KeyPressEventHandler(DateKeyPress); The event fires when there is a key...
1
by: Rick | last post by:
Hello all, I hope all is well with you. I am having a seriously difficult time with this problem. Allow me to set up the problem. I have a System.Web.UI.Page with the following controls...
2
by: CSL | last post by:
I am using the DataGrid in a Windows Application, how can I adjust the widths of each column individually.
4
by: SStory | last post by:
I want to use F6,F7,etc for an entire form. Have key preview to true and it works everywhere but on the grid. On the grid sometimes it works and sometimes not. Appears that if I am in a cell...
1
by: Agnes | last post by:
I design my own datagrid which can turn Enter into 'Tab', BUT I cannot detect the user keypress 'F3' , Why I try to detect keyCode, it only effect on 'keydown' , 'keyup' , but it cannot get my...
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...
0
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
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
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.