prathyusha

prathyusha

  • NA
  • 180
  • 72.7k

button event

Jul 17 2013 8:25 AM
hi
         <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:Button ID="btncontact" runat="server" Text="Contact" UseSubmitBehavior="false"
                        OnClick="btncontact_Click" CausesValidation="false" />
                    <asp:Button ID="btnworkinghours" runat="server" Text="Working Hours" UseSubmitBehavior="false"
                        OnClick="btnworkinghours_Click" CausesValidation="false" />
                    <asp:Button ID="Button3" runat="server" Text="Yes" Style="display: none;" />
                    <asp:Button ID="Button4" runat="server" Text="No" Style="display: none;" />
                    <asp:Button ID="btnmap" runat="server" Text="Map" UseSubmitBehavior="false" OnClick="btnmap_Click"
                        CausesValidation="false" />
                </ContentTemplate>
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="btncontact" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="btnworkinghours" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="btnmap" EventName="Click" />
                </Triggers>
            </asp:UpdatePanel>


when i'm using this code the button events are not fired 

please help me

it's important to me

Answers (13)