473,581 Members | 3,046 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Datagridtextbox column 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 1824
If e.KeyChar = Chr(13) Then
MsgBox("ok")
End If

"Datagridtextbo xcolumn 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,

"Datagridtextbo xcolumn not firing event" <Datagridtextbo xcolumn not firing
ev***@discussio ns.microsoft.co m> wrote in message
news:96******** *************** ***********@mic rosoft.com...

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

dgtxtboxcolumn. textbox.Accepts Return = 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

"Datagridtextbo xcolumn 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


"Datagridtextbo xcolumn 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,

"Datagridtextbo xcolumn not firing event" <Datagridtextbo xcolumn not firing
ev***@discussio ns.microsoft.co m> wrote in message
news:96******** *************** ***********@mic rosoft.com...

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


You could try ( untested ) :

dgtxtboxcolumn. textbox.Accepts Return = 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
2156
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 focus I lose the selected text. And this next line isn't setting the text in the cell. // code within the custom DataGridComboBoxColumn class...
2
2163
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 not fire! Another wierd thing is, when I add a second text input field, the event fires when I press enter. I could change the button to a...
3
2555
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 details, their locations, and then add themselves to categories. Each category requires additional info from the suppliers, this additional category info...
1
8373
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 I want to do is to allow the user to click on the row that corresponds to the correct address, and have the code behind populate the form's...
1
2733
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 onTextChanged event to validate the information recieved; however, the Enter key does not fire this event as it should. Can anyone give me some help as to...
0
1439
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 the amount of characters that they can enter.. Now I need one to do the numeric masking. I checked for a keypress event and there doesn't seem to be...
2
2152
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 ----------------------- I have an mdi parent form.
9
16689
by: runner7 | last post by:
Can anyone help me with how to programmatically fire a keydown event in Firefox?
1
2848
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 following code to execute. But the page load event is not firing. I tried , the same function rewriten in C#, then page load event worked absolutely fine....
0
7886
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7809
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8312
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8183
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6569
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3809
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2312
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 we have to send another system
1
1413
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1147
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.