Exemple #1
0
    //-----------------------------------------------
    #endregion

    #region ---------------LoadPriorities---------------
    //-----------------------------------------------
    //LoadPriorities
    //-----------------------------------------------
    protected void LoadPriorities()
    {
        int categoryid = -1;

        if (trCategoryID.Visible)
        {
            categoryid = Convert.ToInt32(ddlItemCategories.SelectedValue);
        }
        int itemsCount = ItemsFactory.GetCount(currentModule.ModuleTypeID, categoryid, OwnerID);

        OurDropDownList.LoadPriorities(ddlPriority, itemsCount, true);
    }
Exemple #2
0
    //-----------------------------------------------
    #endregion

    #region ---------------LoadPriorities---------------
    //-----------------------------------------------
    //LoadPriorities
    //-----------------------------------------------
    protected void LoadPriorities()
    {
        int categoriesCount = ItemCategoriesFactory.GetCount(currentModule.ModuleTypeID, OwnerID);

        OurDropDownList.LoadPriorities(ddlPriority, categoriesCount, true);
    }