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');}
Hi IntegraSys76,
If you still need assistance on the matter please do not hesitate to ask.
Hello IntegraSys76,
I have tested this scenario with the version you have specified, but I was unable to reproduce the issue - the client side event fired as expected. In order to be able to provide more insight, I would need a small isolated sample replicating the behavior you have described.
Please let me know if you have any further questions.