Esempio n. 1
0
        public void ExecuteOnInstallation(XmlDocument doc, string tempFolderPath)
        {
            ModuleSinglePageInfo mpi = new ModuleSinglePageInfo();

            mpi.FolderName   = "AspxCommerce/AspxCompareItems";
            mpi.FriendlyName = "AspxCompareItemsDetails";
            mpi.PageName     = "Compare Item List";
            mpi.PageTitle    = "Compare Item List";
            mpi.Description  = "Compre Items Module Description";

            PageControlInfo        pci     = new PageControlInfo();
            List <PageControlInfo> pciList = new List <PageControlInfo>();

            pci.ControlSource = "Modules/AspxCommerce/AspxCompareItems/ItemCompareDetails.ascx";
            pci.ControlType   = "View";
            pciList.Add(pci);
            pci = new PageControlInfo();
            pci.ControlSource = "Modules/AspxCommerce/AspxCompareItems/ItemsCompareSetting.ascx";
            pci.ControlType   = "Setting";
            pciList.Add(pci);
            mpi.PageControls            = pciList;
            mpi.HelpURL                 = "http://www.aspxcommerce.com/default.aspx";
            mpi.Version                 = "02.05.00";
            mpi.SupportPartialRendering = false;

            CreateModulePackage cmp = new CreateModulePackage();

            cmp.CreateSinglePagesModulePackage(mpi);
        }
        public void ExecuteOnInstallation(XmlDocument doc, string tempFolderPath)
        {
            RegisterAPIjs(doc, tempFolderPath);
            ModuleSinglePageInfo mpi = new ModuleSinglePageInfo();

            mpi.FolderName   = "AspxCommerce/AspxAdvanceSearch";
            mpi.FriendlyName = "AspxAdvanceSearch";
            mpi.PageName     = "AdvanceSearch";
            mpi.PageTitle    = "AdvanceSearch";
            mpi.Description  = "AdvanceSearch Module Description";

            PageControlInfo        pci     = new PageControlInfo();
            List <PageControlInfo> pciList = new List <PageControlInfo>();

            pci.ControlSource = "Modules/AspxCommerce/AspxAdvanceSearch/AdvanceSearch.ascx";
            pci.ControlType   = "View";
            pciList.Add(pci);
            pci = new PageControlInfo();
            pci.ControlSource = "Modules/AspxCommerce/AspxAdvanceSearch/AdvanceSearchSetting.ascx";
            pci.ControlType   = "Setting";
            pciList.Add(pci);
            mpi.PageControls            = pciList;
            mpi.HelpURL                 = "http://www.sageframe.com/default.aspx";
            mpi.Version                 = "02.05.00";
            mpi.SupportPartialRendering = false;

            CreateModulePackage cmp = new CreateModulePackage();

            cmp.CreateSinglePagesModulePackage(mpi);
        }