Hi I am working on a .NET 2.0 application using Ultrawingrid.
AfterColPosChanged event is fired when i resize the column manually using mouse or when ichange the width of the column through code.
I want to prevent some part of code from executing if it is fired through code.
How to check whether AfterColPosChanged event is fired manually or through code?
ThanksAshok
Hi Ashok,
Typically, what you would do is set a flag when your code is changing something, then check that flag within the event handler. If the flag is not set, you know the change was made by the user.