Event argument for Group Picker field
Inheritance: RowEventArgs
Exemplo n.º 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);
     }
 }
Exemplo n.º 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 );
         }
     }
 }
Exemplo n.º 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 );
         }
     }
 }
Exemplo n.º 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 );
 }
Exemplo n.º 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 );
 }
Exemplo n.º 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 );
 }