Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

AjaxModalExtender fires multiple events

$
0
0

I have a user control that has textboxes, validator controls and a submit button.

I also have a bit of javascript(jquery) that looks for clicks and does a bit of extended validation.

I noticed that the click event was being called twice. After double checking my jquery selectors, I tested the usercontrol with and without the modal wrapper.

When the modalextender is used, I'm getting 2 events, without it's just the 1. I'm unsure as to whether this is an issue, or simply by design.

I can stop it happening using stop.propagation, but it would be good to know if I am doing anything wrong or not.

Any advice appreciated.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>