|
I use Timer1 to refresh few parts of masterpage but the timer refresh all page, and i need to refresh only specific parts of masterpage.
Is possible to refresh part of masterpage by using Timer1 Ajax Control?
|
|
|
|
|
I'm no expert in this area but I'm somewhat familiar with it. Call an AJAX method for the specific portion(s) of the master page maybe? Or put it in an UpdatePanel?
djj55: Nice but may have a permission problem
Pete O'Hanlon: He has my permission to run it.
|
|
|
|
|
Thanks for reply.
I used UpdatePanels and masterpage get all refresh insted of refreshing only controls which are inside updatepanel.
|
|
|
|
|
|
I solved by removing other controls from updatepanels, i have put controls inside updatepanel only that controls which must be refreshed, other controls i removed from updatepanels. Now works great.
Thanks for assistance.
|
|
|
|
|
---TRY---
<div>
<asp:UpdatePanel ID="UpdatePanel4" runat="server">
<ContentTemplate>
<asp:Timer ID="Timer1" runat="server" ontick="Timer1_Tick" Interval="300000" >
</asp:Timer>
</ContentTemplate>
</asp:UpdatePanel>
</div>
---OR---
<asp:UpdatePanel ID="UpdatePanel4" runat="server">
<ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
</Triggers>
<asp:Timer ID="Timer1" runat="server" ontick="Timer1_Tick" Interval="300000"> </asp:Timer>
</ContentTemplate>
</asp:UpdatePanel>
|
|
|
|