Click here to Skip to main content
16,017,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my application i have updatepanel and updateprogress and inside that upsdatepanel i have two buttons but i need updateprogress functionality for only one button. But now when i click on both the button the update progress is executing. Is it is possible to avoid this.
Posted
Comments
Richard C Bishop 16-Oct-13 15:20pm    
I am not certain about this, but try setting the button you do not want to activate the updateprogress to "CausesValidation = false"

1 solution

Adding the triger inside update panel will help us to solve this.

XML
<Triggers>
                        <asp:PostBackTrigger ControlID="xxxx; />
                        </Triggers>


To remove the progress template only we can do like this


XML
<Triggers>
                        <asp:AsyncPostBackTrigger ControlID="xxx" EventName="Click" />
                       
                        </Triggers



This have helped me to solve the issue.
 
Share this answer
 
v2

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