Quantcast
Channel: Martin Dráb's Activities
Viewing all articles
Browse latest Browse all 17532

Get the datasource from caller MenuItemButton

$
0
0

Hi all

I have a form with 3 Action MenuItemButtons. In that form I have 3 different datasources. 

The menuItems call the same class.

I have set the datasource property for all 3 menuItems. 

In the class main menu I have this code:

pdp = args.caller().dataSource(0);


The problem is that it always take the same datasource no matter which button is clicked. 


Viewing all articles
Browse latest Browse all 17532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>