Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3475
NumericEditorProvider ClientEvents-ValueChanging not firing
posted

Infragistics4.Web.v11.1, Version=11.1.20111.1006

MS .NET Framework Veriosn 4.0.30319 SP1 Rel

I am trying to use 2 client-side event on the NumericEditorProvider in my parent row of WHDG.  The two events do not fire;  ClientEvents-ValueChanging and ClientEvents-ValueChanged. I need the first event to cancel the update if the record is locked by another user and the second event to let the page know that it isDirty and needs to be saved.  I have gotten client-side events to work for all the other providers.  Can you help? 

 

 

<ig:NumericEditorProvider ID="ndpSigningOrder" >

 

 

<EditorControl ID ="ecSigningOrder" runat ="server" MaxLength="1" MaxValue="9" MinValue="1" ClientEvents-ValueChanged="Grid_CellValueChanged" ClientEvents-ValueChanging="whdgAddress_CellValueChanging"></EditorControl>

 

 

</ig:NumericEditorProvider>

 

 

function whdgAddress_CellValueChanging(grid, eventArgs) {

 

 

var hdnIsLocked = $get('<%=hdnIsLocked.ClientID%>').value;

 

 

if (hdnIsLocked.toLowerCase() == 'true') {

eventArgs.set_cancel(

 

true);}}

 

 

function Grid_CellValueChanged(grid, eventArgs) {

 

siteSetDirtyData(

 

'Y');}

 

siteSetDirtyData(

 

'Y');}

siteSetDirtyData(

 

'Y');}