protected virtual void OnCellConsumerInit(CellConsumerInitEventArgs e) { if (this.CellConsumerInit != null) { this.CellConsumerInit(this, e); } }
public override void PartCommunicationInit() { CellConsumerInitEventArgs e = new CellConsumerInitEventArgs(); if (this.IsConnected) { e.FieldDisplayName = e.FieldName = this.EffectiveCellFieldName; this.OnCellConsumerInit(e); if (this._rowConnected) { this.OnRowProviderInit(this.RowArgs); } } }
public override void PartCommunicationInit() { CellConsumerInitEventArgs args = new CellConsumerInitEventArgs(); if (IsConnected) { args.FieldDisplayName = args.FieldName = EffectiveCellFieldName; OnCellConsumerInit(args); if (_rowConnected) { OnRowProviderInit(RowArgs); } } }
public override InitEventArgs GetInitEventArgs(string interfaceName) { CellConsumerInitEventArgs args = (interfaceName == "roxorityCellConsumerInterface") ? new CellConsumerInitEventArgs() : null; if (args != null) { args.FieldDisplayName = args.FieldName = EffectiveCellFieldName; } else if (interfaceName == "roxorityRowProviderInterface") { return(RowArgs); } return(args); }
public override InitEventArgs GetInitEventArgs(string interfaceName) { CellConsumerInitEventArgs args = (interfaceName == "roxorityConsumeCell") ? new CellConsumerInitEventArgs() : null; if (args != null) { args.FieldDisplayName = args.FieldName = this.EffectiveCellFieldName; return(args); } if (interfaceName == "roxorityProvideRow") { return(this.RowArgs); } return(args); }
void ICellProvider.CellConsumerInit(object sender, CellConsumerInitEventArgs e) { if (cellFieldName == null) { cellFieldName = e.FieldName; } else { e.FieldName = cellFieldName; } if (cellFieldTitle == null) { cellFieldTitle = e.FieldDisplayName; } else { e.FieldDisplayName = cellFieldTitle; } }
public override void PartCommunicationInit() { if (_cellConnectedCount > 0) { if (CellConsumerInit != null) { //Need to create the args for the CellConsumerInit event CellConsumerInitEventArgs cellConsumerInitArgs = new CellConsumerInitEventArgs(); //Set the FieldName cellConsumerInitArgs.FieldName = "User Name"; //Fire the CellConsumerInit event. //This basically tells the Provider Web Part what type of //cell the Consuemr is expecting in the CellReady event. CellConsumerInit(this, cellConsumerInitArgs); } } }
public override void PartCommunicationInit() { //Initialize the learner id observerRoleLearnerLogin = ""; InitializeLearnerKey(); //If the connection wasn't actually formed then don't want to send Init event if (_cellConnectedCount > 0) { //If there is a listener, send init event if (CellConsumerInit != null) { //Need to create the args for the CellConsumerInit event CellConsumerInitEventArgs cellConsumerInitArgs = new CellConsumerInitEventArgs(); //Fire the CellConsumerInit event. CellConsumerInit(this, cellConsumerInitArgs); } } }
public override InitEventArgs GetInitEventArgs(string interfaceName) { //Check if this is my particular cell interface if (interfaceName == "MyPlannerCellConsumerInterface_WPQ_") { // EnsureChildControls(); //this.ChildControlsCreated = false; //Need to create the args for the CellConsumerInit event CellConsumerInitEventArgs cellConsumerInitArgs = new CellConsumerInitEventArgs(); //Set the FieldName cellConsumerInitArgs.FieldName = "User Name"; //return the InitArgs return(cellConsumerInitArgs); } else { return(null); } }
public void CellConsumerInit(object sender, CellConsumerInitEventArgs cellConsumerInitEventArgs) { //throw new Exception("The method or operation is not implemented."); }
// 以下はいずれも、クライアント側の接続では呼ばれません // (サーバー側の接続の場合のみ、実装) public void CellConsumerInit(object sender, CellConsumerInitEventArgs cellConsumerInitEventArgs) { }