473,396 Members | 2,017 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Datagridtextboxcolumn not firing the enter key event


"PLEASE HELP, I NEED HELP N O W !!!"

AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

Private Sub TextBoxKeyPress(ByVal sender as Object, ByVal e as
KeyEventArgs)

End Sub

Not Firing the Enter Key event except Other Keys.
Nov 23 '05 #1
5 1814
If e.KeyChar = Chr(13) Then
MsgBox("ok")
End If

"Datagridtextboxcolumn not firing event" wrote:

"PLEASE HELP, I NEED HELP N O W !!!"

AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

Private Sub TextBoxKeyPress(ByVal sender as Object, ByVal e as
KeyEventArgs)

End Sub

Not Firing the Enter Key event except Other Keys.

Nov 23 '05 #2
Hi,

"Datagridtextboxcolumn not firing event" <Datagridtextboxcolumn not firing
ev***@discussions.microsoft.com> wrote in message
news:96**********************************@microsof t.com...

"PLEASE HELP, I NEED HELP N O W !!!"
You could try ( untested ) :

dgtxtboxcolumn.textbox.AcceptsReturn = True
AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

HTH,
Greetings

AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

Private Sub TextBoxKeyPress(ByVal sender as Object, ByVal e as
KeyEventArgs)

End Sub

Not Firing the Enter Key event except Other Keys.

Nov 23 '05 #3


"Eternal Snow" wrote:
If e.KeyChar = Chr(13) Then
MsgBox("ok")
End If

"Datagridtextboxcolumn not firing event" wrote:

"PLEASE HELP, I NEED HELP N O W !!!"

AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

Private Sub TextBoxKeyPress(ByVal sender as Object, ByVal e as
KeyEventArgs)

End Sub

Not Firing the Enter Key event except Other Keys.

Nov 23 '05 #4


"Datagridtextboxcolumn not firing event" wrote:

"PLEASE HELP, I NEED HELP N O W !!!"

AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

Private Sub TextBoxKeyPress(ByVal sender as Object, ByVal e as
KeyEventArgs)

End Sub

Not Firing the Enter Key event except Other Keys.

Nov 23 '05 #5


"Bart Mermuys" wrote:
Hi,

"Datagridtextboxcolumn not firing event" <Datagridtextboxcolumn not firing
ev***@discussions.microsoft.com> wrote in message
news:96**********************************@microsof t.com...

"PLEASE HELP, I NEED HELP N O W !!!"


You could try ( untested ) :

dgtxtboxcolumn.textbox.AcceptsReturn = True
AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

HTH,
Greetings

AddHandler dgtxtboxcolumn.textbox.KeyDown, AddressOf TextBoxKeyPress

Private Sub TextBoxKeyPress(ByVal sender as Object, ByVal e as
KeyEventArgs)

End Sub

Not Firing the Enter Key event except Other Keys.


Nov 23 '05 #6

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

Similar topics

0
by: Jax | last post by:
I am using a class that inherits from the DataGridTextBoxColumn. It adds a combo box into the column where it displays a selection of choices. The problem I have is that when this comboBox loses...
2
by: Lee Swanson | last post by:
I have a form with a single field and a submit button with a server event. If I click the submit button, the event runs and everything is fine, if I hit enter in the form, the server event does...
3
by: Tim Thomas | last post by:
Hi, I am very new to .NET and am in the process of building my first web application. I will briefly describe what i am trying to achieve: I have a system where suppliers register their...
1
by: Edward | last post by:
I am having a terrible time getting anything useful out of a listbox on my web form. I am populating it with the results from Postcode lookup software, and it is showing the results fine. What...
1
by: mdipiet | last post by:
I've got a form that is supposed to validate data entry from a bar code scanner. The scanner is set up to add a carriage return at the end of the data in the barcode, which should fire the...
0
by: Aaron Smith | last post by:
Is there an easy way to do a numeric mask on a DataGridTextBoxColumn? I need to only allow entry of numeric value and have only one decimal. I already have a subclasses TextBox column that limits...
2
by: Lenster | last post by:
Environment --------------- Visual Studio.NET 2003 Version 7.1.3088 ..NET Framework 1.1 Version 1.1.4322 SP1 XP Professional 5.1.2600 SP2 Build 2600 Problem Description...
9
by: runner7 | last post by:
Can anyone help me with how to programmatically fire a keydown event in Firefox?
1
by: bigijoseph | last post by:
Please help : page load event is not firing. -------------------------------------------------------------------------------- Hi, I am a new to .net. I am trying to learn it. I tried the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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,...

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.