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:
var ctrl = null;
if (ctrl != null) {
//Parse the quantity from the details listing
//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?
I believe that the typical method of using the ClientID does not work for controls placed inside of the row edit template. You will probably have to do a view source on the rendered page and use a hard coded id. I am open to suggestions but have not found a better way to obtain this id. Here is a knowledge base article that shows the use of complex controls inside of the row edit template.
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=5206