Naresh Babu Gopavaram

Naresh Babu Gopavaram

  • 1.5k
  • 248
  • 249k

ASP.NET on button click event is not firing

Aug 19 2011 1:22 AM
Hi Every one,
I am using Jquery dialogr to show a popup. This popup contains a user control
When I click on button in useer control that click event is not firing .Can any one help me....
here is the Code....
 $(function () {
            $.fx.speeds._default = 1000;
            $("#dialog1").dialogr({ autoOpen: false });
            $("#dialog2").dialogr({ autoOpen: false, hide: "explode" });
            $("#dialog3").dialogr({ autoOpen: false, hide: "explode" });


            $("#open-btn1").click(function () {
                $("#dialog1").dialogr('open');
            });
            $("#open-btn2").click(function () {
                $("#dialog2").dialogr('open');
            });
            $("#open-btn3").click(function () {
                $("#dialog3").dialogr('open');
            });
        });

<div id="dialog1" title="Tasks" style="height: 500px; width: auto;" runat="server" class="clickme">
            This dialog window can be moved, resized, maximized, minimized, restored and closed
            with the 'x' icon.
            <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click"/>
            <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
        </div> 


Answers (1)