ModalPopupExtender and Event

Discussion in 'ASP .Net' started by Melina, Dec 9, 2007.

  1. Melina

    Melina Guest

    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 !
     
    Melina, Dec 9, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. BillE
    Replies:
    2
    Views:
    491
    BillE
    Apr 11, 2007
  2. =?Utf-8?B?SGFyZHkgV2FuZw==?=

    ModalPopupExtender and DOCTYPE problem

    =?Utf-8?B?SGFyZHkgV2FuZw==?=, Apr 23, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    2,735
    =?Utf-8?B?SGFyZHkgV2FuZw==?=
    Apr 23, 2007
  3. =?Utf-8?B?S3lsZSBNLiBCdXJucw==?=

    usercontrol and modalPopupExtender

    =?Utf-8?B?S3lsZSBNLiBCdXJucw==?=, Aug 14, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    1,589
  4. Replies:
    0
    Views:
    630
  5. Replies:
    1
    Views:
    2,156
    4wardlight
    Jul 14, 2011
Loading...

Share This Page