Event argument for Group Picker field
Inheritance: RowEventArgs
示例#1
0
 /// <summary>
 /// Raises the <see cref="E:GroupSelect" /> event.
 /// </summary>
 /// <param name="e">The <see cref="GroupPickerRowEventArgs"/> instance containing the event data.</param>
 public virtual void OnGroupSelect(GroupPickerRowEventArgs e)
 {
     if (GroupSelect != null)
     {
         GroupSelect(this, e);
     }
 }
示例#2
0
 /// <summary>
 /// Handles the SelectItem event of the gp control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 void gp_SelectItem( object sender, EventArgs e )
 {
     if ( GroupPickerSelect != null  )
     {
         GroupPicker gp = sender as GroupPicker;
         if ( gp != null )
         {
             GridViewRow row = (GridViewRow)( (LinkButton)sender ).Parent.Parent;
             GroupPickerRowEventArgs args = new GroupPickerRowEventArgs( row, gp.SelectedValueAsInt() );
             GroupPickerSelect( sender, args );
         }
     }
 }
示例#3
0
 /// <summary>
 /// Handles the SelectItem event of the gp control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 void gp_SelectItem( object sender, EventArgs e )
 {
     if ( GroupPickerSelect != null  )
     {
         GroupPicker gp = sender as GroupPicker;
         if ( gp != null )
         {
             GridViewRow row = (GridViewRow)( (LinkButton)sender ).Parent.Parent;
             GroupPickerRowEventArgs args = new GroupPickerRowEventArgs( row, gp.SelectedValueAsInt() );
             GroupPickerSelect( sender, args );
         }
     }
 }
示例#4
0
 /// <summary>
 /// Handles the GroupSelect event of the groupPickerFieldTemplate control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GroupPickerRowEventArgs"/> instance containing the event data.</param>
 void groupPickerFieldTemplate_GroupSelect( object sender, GroupPickerRowEventArgs e )
 {
     OnGroupSelect( e );
 }
示例#5
0
 /// <summary>
 /// Raises the <see cref="E:GroupSelect" /> event.
 /// </summary>
 /// <param name="e">The <see cref="GroupPickerRowEventArgs"/> instance containing the event data.</param>
 public virtual void OnGroupSelect( GroupPickerRowEventArgs e )
 {
     if ( GroupSelect != null )
         GroupSelect( this, e );
 }
示例#6
0
 /// <summary>
 /// Handles the GroupSelect event of the groupPickerFieldTemplate control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="GroupPickerRowEventArgs"/> instance containing the event data.</param>
 void groupPickerFieldTemplate_GroupSelect( object sender, GroupPickerRowEventArgs e )
 {
     OnGroupSelect( e );
 }