Adding Custom Button on Transaction Complete Screen

<< Click to Display Table of Contents >>

Navigation:  Developers' Guide > Using Data Interface > FAQs > Sample >

Adding Custom Button on Transaction Complete Screen

Navigation: Developers' Guide > Using Data Interface > FAQs > Sample >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

Adding Custom Button on Transaction Complete Screen

 

Show/Hide Hidden Text

This sample add-on shows how to add custom button on the Transaction Complete screen.

Click here to collapse/expand the view.

Code Snippet for Adding Custom Button on the Transaction Complete Screen.

class CompleteSale : CompleteSaleModuleBase

    {

        public override void OnViewIntialized(object sender, CXS.Retail.Extensibility.ViewInitializedEventArgs args)

        {

  

            CompleteSaleView completeSaleView = new CompleteSaleView();

            //Add custom button to VendorAddEdit screen.

            //Note: we can add max 12 custom button.

            CXSButton m_CXSButton1 = m_VendorView.AddCustomButton("Custom button 1 ");

            CXSButton m_CXSButton2 = m_VendorView.AddCustomButton("Custom button 2 ");

            m_CXSButton1.Click += m_CXSButton1_Click;

            m_CXSButton2.Click += m_CXSButton2_Click;

        }