I tried igdrp_getComboById, but it seemed to fail, and after analyzing it for a bit, it seems that it could only ever get the calendar or the mask edit.
I checked further, and it looks like that is because those are the only two things that get assigned to the igdrp_all list - the WebDateStartChooser (in igdc_new) and WebDateStartChooser_input (in igmask_date).
--=- Ritchie
It looks like I ought to be able to use ig_controls[id].
Is that kosher, or should I be trying to use something like the Infragistics._Utility class and its findControl(id,prefix) function?
Hey Ritche,
Since WebDropDown is based on MS AJAX, you can use $find('controlID') in order to obtain a reference to the javascript object representing the control. Where controlID is the server-side ID of the control.
Hope it helps,
Angel
Hi Ritchie,
It doesn't matter which one you click first we'll still receive a notification. Thanks for the update anyway.
It's all sorted; I was just thanking Angel for the answer in a roundabout way. Should I have replied first and then clicked Verify Answer so that the post disappears from support radar?
Do you have more questions regarding this or is it all sorted ? Thanks.
Thanks, Angel! I'm just so used to the plethora of ig*_get*ById functions.
It's a good thing $find() works, too - the ig_controls array completely disappears at random intervals (and sometimes reappears a few renders later) even though the ig*_get*ById functions continue to work for all the other controls, and I was about to go crazy!
Phew! :)