Пример #1
0
    //-----------------------------------------------
    #endregion
    //-------------------------------------------------------------------------------------------------------------------------------------
    protected void LoadDetails(SiteDeparmentsEntity siteDepartment)
    {
        MLanguagesDetailsControls ucArDetails = (MLanguagesDetailsControls)MLangsDetails1.FindControl("ucArDetails");
        MLanguagesDetailsControls ucEnDetails = (MLanguagesDetailsControls)MLangsDetails1.FindControl("ucEnDetails");

        //if(HasArabic)
        LoadDetails(siteDepartment, ucArDetails);
        //if(HasEngrabic)
        LoadDetails(siteDepartment, ucEnDetails);
    }
Пример #2
0
    //-----------------------------------------------
    #endregion


    //--------------------------------------------
    protected void AddDetails(ItemCategoriesEntity category)
    {
        MLanguagesDetailsControls ucArDetails = (MLanguagesDetailsControls)MLangsDetails1.FindControl("ucArDetails");
        MLanguagesDetailsControls ucEnDetails = (MLanguagesDetailsControls)MLangsDetails1.FindControl("ucEnDetails");

        //if(HasArabic)
        GetDetails(category, ucArDetails);
        //if(HasEngrabic)
        GetDetails(category, ucEnDetails);
        //----------------------------
    }
Пример #3
0
    //-----------------------------------------------
    #endregion

    //--------------------------------------------
    protected void AddDetails(ItemsEntity item)
    {
        MLanguagesDetailsControls ucArDetails = (MLanguagesDetailsControls)MLangsDetails1.FindControl("ucArDetails");
        MLanguagesDetailsControls ucEnDetails = (MLanguagesDetailsControls)MLangsDetails1.FindControl("ucEnDetails");

        //if(HasArabic)
        GetDetails(item, ucArDetails);
        //if(HasEngrabic)
        GetDetails(item, ucEnDetails);
        //----------------------------
    }