tags:

views:

21

answers:

0

Hi all,

i am using ajaxToolkit:ModalPopupExtender and want to raise a server side event on its visibility...

<script language="javascript" type="text/javascript">
    function pageLoad() {
             $find('modalpopup').show();
    }
</script>
--------------
<ajaxToolkit:ModalPopupExtender ID="modalpopup" runat="server"
    TargetControlID="dummyLink"
    PopupControlID="EditorPanel"
    BackgroundCssClass="modalBackground" 
    DropShadow="true" 
    BehaviourID="modalpopup"> 
</ajaxToolkit:ModalPopupExtender>

-------

now what should i do to raise a server side event through ModalPopupExtender control ?

Note : (Modalextender doesn't have any button or control so server side event should be raised automatically on its visiblity)