I have a custom control that is linked to a smart object as a datasource.
On the control i have implemented the OnClick event and want to get the record that was clicked on using the linked smartobject fields. When i show one of the values of the smartobject in a message box it seems like the current row of the smartobject is empty.
How do i change the selected row in the smartobject in code?