Programmatically click a button?

M

Mike Frumer

What is the vb.Net managed code equivalent of having a button with the
"Refresh" action to refresh a secondary data source?

I have tried thisXDocument.DataObjects("Projects").Query() and
thisXDocument.View.ForceUpdate() in the OnSwitchView event , but that does
not do the same thing.
 
S

Sandeep

Hi Mike Frumer

This is Jscript managed code.
XDocument.DataObjects.Item("secoundry data connection name").Query();

C# and vb.net
Same as u mentioned code
thisXDocument.DataObjects("Projects").Query()

I hope this will help U
 
Top