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
105
igedit_getById issue
posted

I'm trying to set the value for a webnumericedit control on the rowedit template for a grid. My function code when the template is displayed is:

function uwgCart_TemplateUpdateControlsHandler(gridName, controlId, cellId, value){

     var ctrl = null;

    var val = null;

 

    ctrl = igedit_getById('<%=wneQuantity.ClientID %>');

     if (ctrl != null) {

          //Parse the quantity from the details listing

          val = getValueFromDetails('Quantity',value)

 

          //Set the quantity

          ctrl.setValue(val);

};

}

 

The problem is igedit_getById will not return a reference to my webnumericedit if it is on the row edit template. I moved it out of the template and I get a reference to it. Any suggestions on how to work around this?

Parents
No Data
Reply Children
No Data