Exemple #1
0
 private void ddlSegment_SelectedIndexChanged(object sender, Telerik.WinControls.UI.Data.PositionChangedEventArgs e)
 {
     try
     {
         if (bIsCampaignLoaded)
         {
             RadTextBox radTextBox = txtCampaignCode;
             string[]   str        = new string[] { ddlSegment.SelectedItem.ToString(), "_", ddlOffer.SelectedItem.ToString(), "_", ddOpt.SelectedItem.ToString(), "_", ddlAction.SelectedItem.ToString(), "_", ddlChannel.SelectedItem.ToString() };
             radTextBox.Text     = string.Concat(str);
             txtSegmentType.Text = dtOpportunity.Rows[ddlSegment.SelectedIndex]["OPP_ACTION"].ToString();
             if (txtSegmentType.Text != "STIMULATION")
             {
                 chkSegmentDrpdn.Visible = false;
             }
             else
             {
                 chkSegmentDrpdn.Visible = true;
             }
         }
     }
     catch (Exception exception1)
     {
         Exception exception = exception1;
         RadMessageBox.Show(this, exception.Message, exception.TargetSite.Name.ToString(), MessageBoxButtons.OK, RadMessageIcon.Error, MessageBoxDefaultButton.Button1);
     }
 }
 private void DropDownListElement_SelectedIndexChanged(object sender, Telerik.WinControls.UI.Data.PositionChangedEventArgs e)
 {
     if (this.cancelValueChanging)
     {
         return;
     }
     this.OnValueChanged();
 }
 public PopupEditorNotificationData()
 {
     this.notificationContext             = PopupEditorNotificationData.Context.None;
     this.valueChangedEventArgs           = (Telerik.WinControls.UI.Data.ValueChangedEventArgs)null;
     this.positionChangingCancelEventArgs = (PositionChangingCancelEventArgs)null;
     this.positionChangedEventArgs        = (Telerik.WinControls.UI.Data.PositionChangedEventArgs)null;
     this.listItemDataBindingEventArgs    = (ListItemDataBindingEventArgs)null;
     this.listItemDataBoundEventArgs      = (ListItemDataBoundEventArgs)null;
     this.creatingVisualListItemEventArgs = (CreatingVisualListItemEventArgs)null;
     this.keyPressEventArgs    = (KeyPressEventArgs)null;
     this.mouseEventArgs       = (MouseEventArgs)null;
     this.sortStyleChanged     = (SortStyleChangedEventArgs)null;
     this.visualItemFormatting = (VisualItemFormattingEventArgs)null;
     this.keyEventArgs         = (KeyEventArgs)null;
 }
 public PopupEditorNotificationData(Telerik.WinControls.UI.Data.PositionChangedEventArgs positionChangedEventArgs)
     : this()
 {
     this.notificationContext      = PopupEditorNotificationData.Context.SelectedIndexChanged;
     this.positionChangedEventArgs = positionChangedEventArgs;
 }
 protected virtual void stripsListControl_SelectedIndexChanged(object sender, Data.PositionChangedEventArgs e)
 {
     this.stripsDropDownList.SelectedIndex = e.Position;
 }
        protected virtual void toolstripItemsListControl_SelectedIndexChanged(object sender, Data.PositionChangedEventArgs e)
        {
            if (this.stripItemsListControl.SelectedIndex <= 0)
            {
                this.moveUpButton.Enabled = false;
            }
            else
            {
                this.moveUpButton.Enabled = true;
            }

            if (this.stripItemsListControl.SelectedIndex >= this.stripItemsListControl.Items.Count - 1)
            {
                this.moveDownButton.Enabled = false;
            }
            else
            {
                this.moveDownButton.Enabled = true;
            }
        }
 private void listElement_SelectedIndexChanged(object sender, Telerik.WinControls.UI.Data.PositionChangedEventArgs e)
 {
     this.NotifyOwner(new PopupEditorNotificationData(e));
 }
 private void ListElement_SelectedIndexChanged(object sender, Data.PositionChangedEventArgs e)
 {
     this.NotifyClients(AccessibleEvents.Selection, e.Position);
 }
Exemple #9
0
 private void element_SelectedIndexChanged(object sender, Telerik.WinControls.UI.Data.PositionChangedEventArgs e)
 {
     this.OnSelectedIndexChanged(sender, e.Position);
 }