/// <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); } }
/// <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 ); } } }
/// <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 ); }
/// <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 ); }