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
120
Functions ig_getWebControlById & $find only find Warps
posted

I need help with getting my client side objects into variables.

On the onload event of the html-body I call a delayed (1000ms) function that loads my different IG controls into a global variable. Either way I try to load the objects with ig_getWebControlById and $find it returns null except of the Warp, where I get an object. Even on a later event the functions don't return the correct object.

Could anyone please help me with this issue?

Parents
No Data
Reply
  • 45049
    Verified Answer
    posted

    Most of our ASP.NET controls (other than the ASP.NET AJAX controls built atop of our Aikido framework) have their own "helper functions" used to get reference to the correct client-side object.  The function ig_getWebControlById is used for WARP, but may not be used with other controls..

    What other controls are you trying to get a reference to?  You mention WebGrid in the tags of your post; the helper method to use for WebGrid is:  igtbl_getGridById()

Children