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
30
Additional parameters to WebCombo's client-side event handler
posted

Has there been any development for the webcombo's client-side event handler to accpet additonal parameters? 

I have a user control with a webcombo in it.  The selection of an item from the webcombo triggers an update to a target user control's webcombo value.  However, without having the ability to pass on a second parameter to the webcombo client-side event, I'm unable to specify my target webcombo to update.  There are a number of user controls that serve as potential target for updates.  They are loaded dynamically on run time -- hence I cannot hardcode the ID in to use igcmbo_getComboById(targetWebcomboControlID).  I would like to know how to get the targetWebcomboControlID from the dynamically loaded user controls into the webcombo's AfterSelectChange event if possible.  Currently the AfterSelectChange event takes the webcombo's ID only.)  Or, is there a way to name the ID for the webcombo when my user control is loaded, so that I can store the target control's ID as a part of the Webcombo ID and then parse the ID and find out what my target is?  There must be a better way, anyone?

VirtualCube

Parents
No Data
Reply
  • 155
    posted

    Hi,

    You can use the selectWhere property in client side javascript to add the additional filter condtion of the Webcombo.

    Example : webcombo.selectWhere("EmpNo='h123'");

    Regards,

    Kannan.S

Children
No Data