working for find a solution to my question I have found another doubt which I can’t find solution, that’s why I’m here asking for the knowledge of experts.
I have an image button inside a Repetear like this:
<asp:ImageButton class ="approvalDialog" runat="server" OnClick = "test_rr" CommandArgument = '<%# Eval("aux_approvalId")%>'/>
My problem is that the class approvalDialog is opening a jQuery dialog, and if it is opened, the event is not fired, if I delete class =”approvalDialog”, the event is firing.
So my question is: If is possible open the dialog and in the same time fire the event? Thanks!
Yes, this is working like this:
My problem, I saw that with the console of firebug, was that the javascript function I was calling wasn’t defined, and that was because I hade declared it inside the $(document).ready(function ()