Infragistics BeforeToolClickEvent cancel

I have the following bit of code to cancel a toolbar click event if a piece of data is missing and I keep getting an error:
          That 'Infragistics.Win.UltraWinToolbars.ToolClickEventArgs' does not contain a definition 'Handled'


private void myform_BeforeToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs args)
{
    switch (args.Tool.Key)
    {
        case "SaveTool":
            if (dteRcvd.Text == string.Empty) 
            {
                args.Handled = true; 
            }
            break;
    }
}

Open in new window

LVL 1
NettieEckAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

anarki_jimbelSenior DeveloperCommented:
I'd recommend to ask the question at Infragistics forums:
http://www.infragistics.com/community/forums/

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Niklas BahneProfessional Services Consultant Commented:
Hi guys, I think that an answer like that should not be accepted, especially when the answer isn't even linking to a specific question that has been answered on the Infragistics forums.
anarki_jimbelSenior DeveloperCommented:
Niklas,

If my suggestion to use Infragistics forum was helpful the asker had a right to mark it as a solution, in the absence of other suggestions and solutions. Are you going to dictate people what to do?! :)
The thing is that normally all infragistics questions here are not answered and people are not sure where to go to get an answer. I worked with Infragistics in the past and I know that their forums are quite helpful. So I can't see anything bad in pointing to a place where a right solution can be found.

I believe that criticizing others without providing any real help is a bad taste and very unprofessional behavior.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.