Click here to Skip to main content
15,878,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have gridview of winform i add collection of controls in one row and a textbox also. now i dont know how to work on gridview's textbox enter event .
how to find enter event of textbox; textbox inside of gridview.
Posted
Updated 27-Oct-13 7:09am
v2
Comments
Sergey Alexandrovich Kryukov 27-Oct-13 13:12pm    
Why? You need to work with the cells, and through the members of the cell type. You should not care about entering even, because in the DataGridView, there is selection. Use cell selection events instead. Besides, the sells which can edit invokes editing events.
—SA
Muhamad Faizan Khan 27-Oct-13 13:18pm    
i need to work with textbox enter event becuase of this (keyboard )
http://www.codeproject.com/Answers/674664/Typing-through-keyboard-in-different-textboxes#answer2
Sergey Alexandrovich Kryukov 27-Oct-13 13:31pm    
I answered on what should you do...
—SA

1 solution

 
Share this answer
 
Comments
Muhamad Faizan Khan 27-Oct-13 13:18pm    
nice sharing but i dont have enough time sir. Can you tell me to the point
Sergey Alexandrovich Kryukov 27-Oct-13 13:30pm    
Time for what? For development? Then no answers can help you. :-)
I thought I explained the point in my comment to the question. You don't need "enter event". A stand-along control is different from the behavior of the DataGridView cell. To work with a text box cell, you need to use the events I listed above, or just the first two...
If you have further questions, you are welcome to ask...
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900