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

Home Posts Topics Members FAQ

issue with Validating on datagrid

Sam
Hi,
I have a grid on which the Validating event contains a pop up that
prompts the user for yes or no. If the user click yes the event is
cancel otherwise it's not (e.Cancel = True vs e.Cancel = False)

The problem is that if the user clicks no, I would expect things to
keep being processed normally, that is if the user leaves the grid by
clicking on the node of a Treeview and then clik 'No', the node in the
tree should be selected, but unfortunately it's not. Why?

Weird thing: in debug, if i put a breakpoint in Validating and I go
step by step, the node in the tree is actually selected !!!
Please can you help?

Thanks

Nov 21 '05 #1
0 771

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

Similar topics

1
by: Omavlana | last post by:
Pleas advise me how to do validations in side datagrid before updating the details into database. I am using VB.NET and updating the datagrid using sqlcommandbuilder. I want to validate the...
14
by: Jack Kaufmann | last post by:
I am trying to verify a datagrid in which there must be an entry in both columns of any new row, and those values must be greater than the corresponding values in the previous row. It is pretty...
0
by: Morné | last post by:
Hi how do I validate a text value in a datagrid e.g. the user is only allowed to type in a Y or a N. I specifically have a problem with using the PropertyDescriptorCollection. I get the...
0
by: enahar | last post by:
I want to validate a cell wheather a value is greater than 0 or not.If value is greater than 0 then I want to show messagebox and focus back the same cell else move to the other cell. I am...
0
by: SMai24 | last post by:
Anyone has the same experience? I am trying to validate one of the textboxes inside a datagrid, but everytime when i click my mouse on another cell, the validating fires twice. Help plz....
0
by: Ante Perkovic | last post by:
Hi, After long search of the internet, I couldn't find any solution on validating a datagrid. I have textboxes and validators (required field) in <editItemTemplate> and labels in <ItemTemplate>....
2
by: Sam | last post by:
Hi, I've got two grids on my form. When one loses the focus I do the following: Private inFocusing As Boolean = False Private Sub dgParams_LostFocus(ByVal sender As Object, ByVal e As...
4
by: hkarthik | last post by:
hi all, I added a checkbox inside my datagrid. This checkbox is generated automatically depending on the data's inside my datagrid. So the problem that occurs now is all the checkboxes...
1
by: =?Utf-8?B?bGpsZXZlbmQy?= | last post by:
I've noticed that controls do not raise a Validating event if they are contained in a ToolStripDropDown via a ToolStripControlHost item. Please run the following sample and follow the instructions...
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
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,...
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...
1
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
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...
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: 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 ...

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.