How to correctly create a Combo template not used in a grid cell?
I'm encountering problems using a Combo control defined as a template. The combo is not in a grid cell.
Regardless of whatever method I try, the selection list does not appear in the popup. For an example, see -
http://www.users.on.net/~asm/calendar/
line 336 defines the combo template and lines 510 to 518 set the selection list. The list gets populated if I use a variable to access the combo first but the data doesn't propagate back. It doesn't populate if I don't use a variable first and a setTimeout() call doesn't help.
A non-templated combo works but obviously isn't suitable in this instance since all nested complex controls end up having the same ID for the combo.
Regardless of whatever method I try, the selection list does not appear in the popup. For an example, see -
http://www.users.on.net/~asm/calendar/
line 336 defines the combo template and lines 510 to 518 set the selection list. The list gets populated if I use a variable to access the combo first but the data doesn't propagate back. It doesn't populate if I don't use a variable first and a setTimeout() call doesn't help.
A non-templated combo works but obviously isn't suitable in this instance since all nested complex controls end up having the same ID for the combo.
Anthony
October 13,