I am adding controls dynamically to the edit template of my ultrawebgrid control. The generic server controls have no problem, but with the Infragistics WebDateChooser and WebDateTimeEdit controls I'm getting "Could not init Editor" in the status bar and the attribute for the columnkey I am adding to the WebDateChooser is being applied to the Table tag instead of the input tag. So the template has no value to put into the column of the grid after editing? Any ideas on how to correct these issues?
You need to use JavaScript to copy the values from your WebGrid cell into the control in your row edit template of your WebGrid as the template opens, and back when the template closes. This is the case for any control that stores its value in any way other than in a "value" attribute directly on the element.
Details on how to implement this is provided in the following article from our online Knowledge Base:HOWTO: Placing complex controls into the Row Edit Template
This article happens to use a WebDateChooser in its example:
My main issue is that the controls mentioned are not functioning correctly once the template is displayed. As I mentioned everything is generated in code and not via the aspx grid template. So when I load the webdatechooser or the webdatetimeedit controls, they appear to be there when I view the template but they do not function...no drop down calendar appears or the edit template mask. Am I missing something and which event should I be loading the dynamic grid edit template in? Sorry for the confusion.
This might depend greatly on how the controls were added in the first place. I'm not sure what approach you're using or what approach I can suggest.
What I can suggest is that you submit a support request, and include a small sample project that shows what you've got so far, a description of what you're trying to accomplish, and a description of the behavior you're getting from your sample. A Developer Support Engineer can then use your sample and descriptions to guide you in a more specific manner than I can provide here.