.NET Error Provider Component
Posted: Thu Apr 02, 2009 12:50 pm
Hi there crew,
we are having some issues related to the .NET Error Provider control.
We have forms where the user inputs data and the apply the changes to the database. Before applying the changes we validate the input and in case of error show an Error Provider next to each monitored control (Textbox, ComboBox, etc.).
Ranorex detects the ErrorProvider as Unknown. I could cast it to Control, and invoke the GetError() on it, but the ErrorProvider is not a control...
I could even use the InvokeRemotely but still i had to pass the ErrorProvider as a control or something but Rano finds it Unknow.
Any clean way to solve this ?
Thanks in advance!
Cheers,
Ricardo
we are having some issues related to the .NET Error Provider control.
We have forms where the user inputs data and the apply the changes to the database. Before applying the changes we validate the input and in case of error show an Error Provider next to each monitored control (Textbox, ComboBox, etc.).
Ranorex detects the ErrorProvider as Unknown. I could cast it to Control, and invoke the GetError() on it, but the ErrorProvider is not a control...
I could even use the InvokeRemotely but still i had to pass the ErrorProvider as a control or something but Rano finds it Unknow.
Any clean way to solve this ?
Thanks in advance!
Cheers,
Ricardo