Click here to Skip to main content
15,887,335 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
Just trying to blend things a bit. I have a button outside an update panel which controls an update panel very well. I also want another button to also update this same update panel which the click event is triggered. Anyway to achieve this?

What I have tried:

i have been able to make one button update the panel with this. now i want to make another button update that too

ASP.NET
<pre lang="ASP.NET"><asp:UpdatePanel ID="update1" runat="server" UpdateMode="Conditional">
                              <Triggers>
           <asp:AsyncPostBackTrigger ControlID="Dsch" EventName="Click" />
       </Triggers>
Posted
Updated 11-Oct-16 21:46pm

1 solution

How about -
ASP.NET
<triggers>
    <asp:asyncpostbacktrigger controlid="Dsch" eventname="Click">
    <asp:asyncpostbacktrigger controlid="AnotherControl" eventname="respectiveEventName">
</asp:asyncpostbacktrigger></asp:asyncpostbacktrigger></triggers>


Please let me know if your requirement is different than this.
Thanks :)
 
Share this answer
 
Comments
Mcbaloo 12-Oct-16 4:05am    
Thanks for the swift response. Exactly what i wanted to do.
Suvendu Shekhar Giri 12-Oct-16 4:32am    
Glad to that it was useful :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900