Hiya
Question to people using Dev Express, and Remote Invoke
I have a form containing two Xtra Grids, when an operation is performed in Grid1, then Grid2 gets updated
However to perform the operation in Grid1, the test uses Remote Invoke, and runs my own bit of code
How then to get Grid2 to update?
One way i though of was to raise an event in my code, but this means knowing what event the developer used to get Grid2 to update... is there any other way?
Thanks
Firing Dev Express Events
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Firing Dev Express Events
Hi,
I think it depends on the event handler which is used by the developer. If the developer used a "ValueChangeEventHandler", there shouldn't be a problem, because the grid will be updated after some value changes. But if the developer use a "MouseEventHandler", then nothing will happen when you only change some values, because no mouse event is recognized by the control. If a "MouseEventHandler" is used, you should trigger a mouse event after you execute your InvokeRemotely.
Regards,
Peter
Ranorex Support Team
I think it depends on the event handler which is used by the developer. If the developer used a "ValueChangeEventHandler", there shouldn't be a problem, because the grid will be updated after some value changes. But if the developer use a "MouseEventHandler", then nothing will happen when you only change some values, because no mouse event is recognized by the control. If a "MouseEventHandler" is used, you should trigger a mouse event after you execute your InvokeRemotely.
Regards,
Peter
Ranorex Support Team
Re: Firing Dev Express Events
Thanks, got to bottom of it
I used ColumnView.SelectRow, and developer put his code behind FocusRowChange event, rather than selection changed event.
I used ColumnView.SelectRow, and developer put his code behind FocusRowChange event, rather than selection changed event.