Пример #1
0
/*----------------------------------------------------*/

        public void ModulePage_RedirectToModule(String aModuleName, String aModuleConfig, String aPageName, String aPageKey, String aQueryString)
        {
            if (Request.QueryString["Config"] != null)
            {
                //add module state if module state does not exist for current module
                //if (WebSession.ModuleState(CurrentModuleName) == null) {
                cModuleState aModuleState = new cModuleState();

                aModuleState.Load(this);
                WebSession.Add_ModuleState(CurrentModuleName, aModuleState);
                //}
            }

            Response.Redirect(ModulePage_BuildPageKeyURL(aModuleName, aModuleConfig, aPageName, aPageKey, aQueryString));
        }