This is a migrated thread and some comments may be shown as answers.

[Solved] prevent event bubbling

3 Answers 188 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
nad
Top achievements
Rank 1
nad asked on 30 May 2008, 02:37 AM
Hi,
If I want to prevent event bubbling in  a combo box client event how can i do it ?
with Internet Explorer's windows.event i can access the last event  that took place. and stop it from bubbling but with firefox it is not possible. is there a way to access the event from sender or eventArgs, or  what is the best approach to solve this issue.
function OnClientSelectedIndexChanged(sender, eventArgs)
{
}

Thanks in advance

Nad

3 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 30 May 2008, 06:22 AM
Hi Nadeetha,

I suggest you get the event like this:

function OnClientSelectedIndexChanged(sender, eventArgs)  
{  
   var event = eventArgs.get_domEvent();  
}  
 


Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
nad
Top achievements
Rank 1
answered on 01 Jun 2008, 11:40 PM
Hi Rosi,
Thanks for the reply , but I already have tried that it returns null all the time. any idea why?
Cheers,
Nad

 
0
Rosi
Telerik team
answered on 03 Jun 2008, 01:28 PM
Hi ,

Please find attached latest internal build. Download it and try it.

Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox
Asked by
nad
Top achievements
Rank 1
Answers by
Rosi
Telerik team
nad
Top achievements
Rank 1
Share this question
or