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
60
event.srcElement.id doesn't work in FireFoix - AfterRowTemplateClose Event
posted

Hi,

I trying to find a answer to this.

I am using the AfterRowTemplateClose client event and tried to find out which button that trigger it using

if( event.srcElement.id == "igtbl_reOKBtn")

It works fine in IE, but I know it does work in FireFox. Anyone have any idea please!

Regards.

pysw

 

  • 25665
    Offline posted

    Hello,

    The event object you are using is a part of window.event and in IE.  Since window.event does not exist in W3C standard it is unsupported in Firefox. I would recommend using the bSaveChanges that is passed into the event handler. If bSaveChanges is true Ok was pressed if false something else was.

    Sincerely,
    Mike P.
    Developer Support Engineer
    Infragistics, Inc.
    www.infragistics.com