ModalPopupExtender and Event

M

Melina

Hi,

I just would like to have a Button, with an NnClick event.
Two problems with the code below :
* The OnClick Event "Proc1" is never reached.
* The Panel isn't modal at all, i can still click on the button

<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"
EnablePartialRendering="true"/>
<asp:Button ID="Button1" runat="server" Text="Upload" OnClick="Proc1"/>
<cc1:ModalPopupExtender runat="server" TargetControlID="Button1"
ID="modalPopupExtenderLoading" PopupControlID="Popup"
></cc1:ModalPopupExtender>
<asp:panel ID="Popup" runat="server" Style="display:none;">
<div style="margin-left:auto; margin-right:auto; width:50px;">
<img src="loader.gif" alt="Loading..." />
</div>
</asp:panel>
</form>

Many Thanks !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top