Click here to Skip to main content
16,013,322 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to set conditional updateprogress

because my panel refreshing with three diffrent condition

n i want it to on some condition & not always

is it possible to set from code behind here i have associated panel with updateprogress

pleease suggest..
Posted
Comments
singh.amit777 8-Dec-11 6:46am    
Hi amol

U have to use Trigger property of Panel i guess, and make a condition when to refresh and set updatemode = conditional
hope this will work ?

Amit Singh

1 solution

set update panel mode to conditional.
ASP.NET
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
       <ContentTemplate>


       <triggers> <asp:postbacktrigger controlid="button1" xmlns:asp="#unknown" /></triggers>


and use trigger to update on particular event of control.

Hope this will help you.
And dont forget to mark as answer if it helps. :)
 
Share this answer
 

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