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 RouteId = dt.Rows[0]["RouteId"].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 DisplayTitle = dt.Rows[0]["DisplayTitle"].ToString(); string DisableLink = dt.Rows[0]["DisableLink"].ToString(); string IsDeleted = dt.Rows[0]["IsDeleted"].ToString(); string IsSecure = dt.Rows[0]["IsSecure"].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(); txt_TabName.Text = TabName; txt_Title.Text = Title; txt_Desc.Text = Description; txt_Keywords.Text = Keywords; txt_Url.Text = Url; txt_CssClass.Text = CssClass; txt_Path.Text = TabPath; chkDisplayTitle.Checked = Convert.ToBoolean(DisplayTitle); chkIsDelete.Checked = Convert.ToBoolean(IsDeleted); chkIsSecure.Checked = Convert.ToBoolean(IsSecure); chkIsVisible.Checked = Convert.ToBoolean(IsVisible); chkDisableLink.Checked = Convert.ToBoolean(DisableLink); chkPermanentRedirect.Checked = Convert.ToBoolean(PermanentRedirect); LoadPortalList2DDL(PortalId); ShowContentItemList(ContentItemId); ShowListRouterUrl(RouteId); ShowTreeNodes_TabList(ParentId); ShowLanguage(CultureCode); FileIcon_Img.ImageUrl = IconPath; FileIcon_Img.Height = 50; FileIcon_Img.Width = 50; FileIconLarge_Image.ImageUrl = IconFileLargePath; FileIconLarge_Image.Height = 50; FileIconLarge_Image.Width = 50; txt_StartDate.Text = StartDate; txt_EndDate.Text = EndDate; }