1 Reply Latest reply on Feb 17, 2008 9:50 PM by Sreenivas R

    How to know the Control type using event param???

    Pratap Reddy
      Hi,
      I wrote a function on MOUSE OVER EVENT. I called this function from a LIST and DATAGRID using addEventListener.
      Now i got a requirement like on event fire.. i wanna alert the control type i.e., whether the action fire from LIST or DATAGRID. I can create two different function for both LIST and DATAGRID. But requirement is like cannot reapeat the code.. code minimization.

      Is there any property to know the type of control(Like its LIST or DATAGRID) using event parameter??

      Thanks & Regards
      PRatap