private void BindEnum() { EnumControl.GetEnumDescriptions <Constants.CurrencyType>(ddlCurrency); ddlCurrency.Items.Insert(0, "[ Select Currency ]"); ddlCurrency.Items.RemoveAt(1); EnumControl.GetEnumDescriptions <Constants.YesNo>(ddlUIDTracking); ddlUIDTracking.Items.Insert(0, "[ UID ]"); ddlUIDTracking.Items.RemoveAt(1); EnumControl.GetEnumDescriptions <Constants.YesNo>(ddlProductfeedAvailable); ddlProductfeedAvailable.Items.Insert(0, "[ Feed Product ]"); ddlProductfeedAvailable.Items.RemoveAt(1); EnumControl.GetEnumDescriptions <Constants.YesNo>(ddlDeepLinkEnabled); ddlDeepLinkEnabled.Items.Insert(0, "[ Deeplinking ]"); ddlDeepLinkEnabled.Items.RemoveAt(1); EnumControl.GetEnumDescriptions <Constants.PayoutType>(ddlPayoutType); ddlPayoutType.Items.Insert(0, "[ Payout Type ]"); ddlPayoutType.Items.RemoveAt(1); EnumControl.GetEnumDescriptions <Constants.PriceType>(ddlPriceType); ddlPriceType.Items.Insert(0, "[ Price Type ]"); ddlPriceType.Items.RemoveAt(1); EnumControl.GetEnumDescriptions <Constants.Status>(ddlStatus); ddlStatus.Items.Insert(0, "[ Status ]"); ddlStatus.Items.RemoveAt(1); }
private void BindEnum() { EnumControl.GetEnumDescriptions <Constants.Device>(ddlDevice); ddlDevice.Items.Insert(0, "[ Select Device ]"); ddlDevice.Items.RemoveAt(1); EnumControl.GetEnumDescriptions <Constants.MerchantDeepLinkType>(ddlLinkFor); }
private void BindDDL() { EnumControl.GetEnumDescriptions <Constants.API_URL_Type>(ddlAPIType); EnumControl.GetEnumDescriptions <Constants.ApiScheduleType>(ddlApiScheduleType); ddlRunTime.DataSource = DateTimeAgo.GetTimeIntervals(); ddlRunTime.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { EnumControl.GetEnumDescriptions <EnumConstants.ItemType>(ddlItemType, false); ddlItemType.Items.Insert(0, new ListItem(" [ Select ] ", "0")); BindGroup(); BindSubgrp(); } }
private void BindEnum() { EnumControl.GetEnumDescriptions <Constants.CategoryType>(ddlCategoryType); ddlCategoryType.Items.Insert(0, "[ Category Type ]"); ddlCategoryType.Items.RemoveAt(1); EnumControl.GetEnumDescriptions <Constants.MerchantLinkType>(ddlMerchantLinkType); ddlMerchantLinkType.Items.Insert(0, "[ Merchant Link ]"); ddlMerchantLinkType.Items.RemoveAt(1); }
private void BindItems() { EnumControl.GetEnumDescriptions <EnumConstants.ItemType>(ddlItemType, false); ddlItemType.Items.Insert(0, new ListItem(" [ Select ] ", "0")); var userID = Common.LoggedInUserID(); lvItems.DataSource = unitOfwork.GroupRepository.All().OrderBy(o => o.GroupCode).ToList(); lvItems.DataBind(); }
private void BindEnum() { EnumControl.GetEnumDescriptions <Constants.BannerType>(ddlBanner); ddlBanner.Items.Insert(0, "[ Banner Type ]"); ddlBanner.Items.RemoveAt(1); EnumControl.GetEnumDescriptions <Constants.BannerLocation>(ddlBannerLocation); ddlBannerLocation.Items.Insert(0, "[ Banner Placing ]"); ddlBannerLocation.Items.RemoveAt(1); }
private void BindApi() { EnumControl.GetEnumDescriptions <Constants.NameOfMerchants>(blMenu); }
private void BindApi() { EnumControl.GetEnumDescriptions <Constants.APITypeURL>(ddlAdv_Type); }
private void BindApi() { EnumControl.GetEnumDescriptions <Constants.MailFormatContentType>(ddlTemplateType); }
private void BindApi() { //EnumControl.GetEnumDescriptions<Constants.NameOfMerchants>(ddlApiList); EnumControl.GetEnumDescriptions <Constants.APITypeURL>(rdbApiTypeURL); }
private void BindApi() { EnumControl.GetEnumDescriptions <Constants.FeatureTypeOffer>(ddlOfferType); }
private void BindDDL() { EnumControl.GetEnumDescriptions <Constants.NotificationType>(ddlNotificationType); }
private void BindMerchant() { EnumControl.GetEnumDescriptions <Constants.NameOfMerchants>(ddlMerchantName); }
private void BindEnum() { EnumControl.GetEnumDescriptions <Constants.MailFormatContentType>(ddlTemplateType); ddlTemplateType.Items.Insert(0, "Mail Content"); ddlTemplateType.Items.RemoveAt(1); }