I am using a MPE to display a panel. Generally, the modal is given a client call but I have given the modal a server call through javascript... now the problem is that the modal isn't displayed as a popup. Its being plainly displayed as a panel (screenshot attached). ---The portion from "My AddressBook" should be displayed as a popup---I can give all the code that someone might need to help on this issue. But I dont think it will feasible to post all the code here. May be I can mail it to someone who thinks he might help...
Also, I am using javascript for a tab control and chances are that the javascript and ajax (modal) are conflicting somewhere... I am really not sure about which portions of code to post, still I am trying...\[code\]<script type="text/javascript" language="javascript" >var launch = false;function launchModalV2() { launch = true;}function pageLoad() { if (launch) { //alert('1'); $find("mpeTest").show(); }}function launchModalV1() { alert('1'); $find('mpeTest').show(); return false;} <script type="text/javascript"> $(function () { $("#tabs").tabs(); });</script>\[/code\]HTML\[code\]<div id="tabs" class="ui-tabs"><ul><li><a href="http://stackoverflow.com/questions/15835484/#tabs-1" class="ui-tabs">My Profile</a></li><li><a href="http://stackoverflow.com/questions/15835484/#tabs-2" class="ui-tabs">My AddressBook</a></li></ul><div id="tabs-1" class="ui-tabs"><asp:UpdatePanel></UpdatePanel></div><div id="tabs-2" class="ui-tabs"> <asp:UpdatePanel ID="UpdatePanel2" runat="server"> <ContentTemplate>.....<aspanel>....</ContentTemplate><div style="position:absolute"><act:ModalPopupExtender ID="mpeTest" BehaviorID="mpeTest" runat="server" TargetControlID="btnShowModal" PopupControlID="pnlMyAddressBook" OkControlID="btnOk" BackgroundCssClass="modalBackground"></act:ModalPopupExtender> <asp:Button ID="btnOk" runat="server" Text="Ok" /></div>\[/code\]