jquery - fancybox having issue with asp.net server control -


i using jquery.fancybox-1.3.4.pack.js opening user control pop up. parent page has server control drop downs. when click on cancel (cross mark). closes fancy box , page gets loaded without postback, none of server controls firing server event.

i don't want parent page reload on click of cancel.

i have user control , user control has anchor , 2 drop down (asp.net server control)

the anchor tag:

<a href="~/account data/view.aspx" id="a2"  clientidmode="static" runat="server" target="_self"  class="fancy"   style="line-height:16px"></a> 

on click of anchor tag jquery function gets called

$('a.fancy').fancybox({             type: 'ajax',             oncomplete: fancyboxmanager.initialize,             padding: 0,             overlaycolor: '#000000',             overlayopacity: 0.62,             scrolling: 'no',             afterclose: function () {                // location.reload();                 return;             }         }); 

the fancy box opens correctly when click on close button closes pop none of server control events getting fired. requirement can't referesh page after close.

i guess happening due break in postback event caused fancy box


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -