private void LoadData()
        {
            TabController tab_obj = new TabController();
            DataTable dt = tab_obj.GetDetailById(_idx);            

            string PortalId = dt.Rows[0]["PortalId"].ToString();
            string ParentId = dt.Rows[0]["ParentId"].ToString();
            string ContentItemId = dt.Rows[0]["ContentItemId"].ToString();            
            string CultureCode = dt.Rows[0]["CultureCode"].ToString();                       
            string CssClass = dt.Rows[0]["CssClass"].ToString();
            string TabName = dt.Rows[0]["TabName"].ToString();
            string Title = dt.Rows[0]["Title"].ToString();            
            string TabPath = dt.Rows[0]["TabPath"].ToString();
            string RouterId = dt.Rows[0]["RouteId"].ToString();
            string DisplayTitle = dt.Rows[0]["DisplayTitle"].ToString();            
            string DisableLink = dt.Rows[0]["DisableLink"].ToString();
            string IsDeleted = dt.Rows[0]["IsDeleted"].ToString();
            string IsVisible = dt.Rows[0]["IsVisible"].ToString();
            string PermanentRedirect = dt.Rows[0]["PermanentRedirect"].ToString();
            string Keywords = dt.Rows[0]["Keywords"].ToString();
            string Url = dt.Rows[0]["Url"].ToString();
            string Description = dt.Rows[0]["Description"].ToString();
            string IconPath = small_icon_path + "/" + dt.Rows[0]["IconFile"].ToString();
            string IconFileLargePath = large_icon_path = "/" + dt.Rows[0]["IconFileLarge"].ToString(); 
            string StartDate= dt.Rows[0]["StartDate"].ToString();
            string EndDate = dt.Rows[0]["EndDate"].ToString();
            string TabSelectedId = "";
            if (TabPath.IndexOf("/o_") > -1)
                TabSelectedId = TabPath.Substring(TabPath.IndexOf("/o_") + 3, (TabPath.IndexOf("/", TabPath.IndexOf("/o_") + 3)) - TabPath.IndexOf("/o_") - 3);
            txt_TabName.Text = TabName;
            txt_Title.Text = Title;       
            txt_Keywords.Text = Keywords;
            txt_Url.Text = Url;
            txt_CssClass.Text = CssClass;
            lblUrlRewrite.Text = TabPath;
            txt_StartDate.Text = StartDate;
            txt_EndDate.Text = EndDate;

            chkDisplayTitle.Checked = Convert.ToBoolean(DisplayTitle);
            chkIsDelete.Checked = Convert.ToBoolean(IsDeleted);
            chkIsVisible.Checked = Convert.ToBoolean(IsVisible);
            chkDisableLink.Checked = Convert.ToBoolean(DisableLink);
            chkPermanentRedirect.Checked = Convert.ToBoolean(PermanentRedirect);
            
            LoadPortalList2DDL(PortalId);
            ShowTreeNodes_TabList(ParentId);
            ShowLanguage(CultureCode);
            ShowContentItemList(ContentItemId);
            ShowListInContent(TabSelectedId);
            ShowListRouterUrl(RouterId);
            ShowListFileInFolder(Description);                       

            FileIcon_Img.ImageUrl = IconPath;
            FileIcon_Img.Height = 50;
            FileIcon_Img.Width = 50;
                       
            FileIconLarge_Image.ImageUrl = IconFileLargePath;
            FileIconLarge_Image.Height = 50;
            FileIconLarge_Image.Width = 50;            
        }