private void LoadData()
        {
            Modules module_obj = new Modules();
            DataTable dt = module_obj.GetDetails(_idx);

            LoadApplicationList2DDL(Session["ApplicationId"].ToString());
            LoadPortalList2DDL(dt.Rows[0]["PortalId"].ToString());
            txtModuleTitle.Text = dt.Rows[0]["ModuleTitle"].ToString();
            ckbAllTab.Checked = Convert.ToBoolean(dt.Rows[0]["AllTabs"].ToString());
            ckbIsAdmin.Checked = Convert.ToBoolean(dt.Rows[0]["IsAdmin"].ToString());
            ckbIsDeleted.Checked = Convert.ToBoolean(dt.Rows[0]["IsDeleted"].ToString());
            ckbInheritViewPermissions.Checked = Convert.ToBoolean(dt.Rows[0]["InheritViewPermissions"].ToString());

            string ModuleId = dt.Rows[0]["ModuleId"].ToString();
            IframePermission.Attributes.Add("src", "admin_module_permission_edit.aspx?idx=" + _idx);
            IframeModuleController.Attributes.Add("src", "admin_module_controller.aspx?idx=" + _idx);
        }
        private void LoadData()
        {
            Modules module_obj = new Modules();
            DataTable dt = module_obj.GetDetails(_idx);

            LoadModuleList2DDL(dt.Rows[0]["ModuleID"].ToString());
            LoadPaneList2DDL(dt.Rows[0]["PaneName"].ToString());            
        }