Code when we click Print Preview in B1
I want to know that when we click Print Preview in Report page. What we must use code in vb.net? I hope everybody will understand.
You must write an event handler for menu event.
Take a look at the vb.net samples in the SDK about catching menu events.
Print preview menu under 'File' (same as toolbar button) has ID 519 (you'll find a complete list in the sdk help at topic 'List of Menu Item IDs'
Hope this helps