//----------------------------------------------- #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); }
//----------------------------------------------- #endregion #region ---------------LoadPriorities--------------- //----------------------------------------------- //LoadPriorities //----------------------------------------------- protected void LoadPriorities() { int categoriesCount = ItemCategoriesFactory.GetCount(currentModule.ModuleTypeID, OwnerID); OurDropDownList.LoadPriorities(ddlPriority, categoriesCount, true); }