Thank you Rob,
Changing it to Infragistics.Win.UltraWinGrid.InitializeRowEventHandler worked. I’m assuming you use one or the other based on the type of grid ?
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, May 10, 2016 4:50 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: add column to existing E-10
In your class declaration drop the private on
Ice.Lib.Framework.EpiUltraGrid grdreceiptsview;
Try
grdreceiptsview.InitializeRow+= new Infragistics.Win.UltraWinGrid.InitializeRowEventHandler(grdreceiptsview _InitializeRow);
Rob Bucek
Production Control Manager
D&S Manufacturing
301 E. Main St. | PO Box 279
Black River Falls, WI 54615
715-284-5376 Ext. 311
Mobile: 715-896-3119
Visit our newly redesigned Website at www.dsmfg.com
From:
vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, May 10, 2016 6:03 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: add column to existing E-10
Can anybody see what I might be missing ? I’m trying to add a column to an AP invoice entry grid and it won’t compile I get this error: Error: CS0426 - line 42 (448) - The type name 'InitializeRowEventHandler' does not exist in the type 'Ice.Lib.Framework.EpiUltraGrid' .
Here's part of the code.
// Begin Wizard Added Module Level Variables **
private Ice.Lib.Framework.EpiUltraGrid grdreceiptsview;
private Ice.Proxy.Lib.BOReaderImpl _bor;
// End Wizard Added Module Level Variables **
// Add Custom Module Level Variables Here **
public void InitializeCustomCode()
{
// ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Variable Initialization' lines **
// Begin Wizard Added Variable Initialization
// End Wizard Added Variable Initialization
// Begin Wizard Added Custom Method Calls
// End Wizard Added Custom Method Calls
grdreceiptsview =(Ice.Lib.Framework.EpiUltraGrid)csm.GetNativeControlReference("0e165491-a688-4d5c-aa9d-642135d51e15-1");
grdreceiptsview.DisplayLayout.Bands[0].Columns.Add("Taxable"," PO Taxable");
grdreceiptsview.InitializeRow+= new Ice.Lib.Framework.EpiUltraGrid.InitializeRowEventHandler(grdreceiptsview_InitializeRow);
_bor = WCFServiceSupport.CreateImpl<Ice.Proxy.Lib.BOReaderImpl>((Ice.Core.Session)oTrans.Session, Epicor.ServiceModel.Channels.ImplBase<Ice.Contracts.BOReaderSvcContract>.UriPath);
}
From:
vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Monday, May 9, 2016 1:26 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: add column to existing E-10
Thanks Patrick. That worked.