Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
<cc1:GMap ID="GMap1" runat="server" önclick="GMap1_Click" enableServerEvents="true"/>
this above control on my child page

my master page have timer control which is update some part in every second

which child page have GMap control that page refresh that my problem
in master page also have j query that also refresh when go to one page to other page
i don't want refresh that page
Please help me how to stop refresh child page which have GMap control
Thank You.
Posted
Updated 31-Oct-13 2:08am
v2
Comments
Stephen Hewison 31-Oct-13 8:47am    
You need to find the mechanism that causes the refresh. If you find this we can advise on how to stop it. Without knowing this it will be difficult to help.
Bama Boy 31-Oct-13 8:49am    
ohk sir in my master page using this

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<contenttemplate>
<asp:Timer ID="Timer1" runat="server" Interval="1000" ontick="Timer1_Tick">

<asp:Label ID="lblDateToday" runat="server">
<asp:Label ID="lblTime" runat="server">


<Triggers>
<asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
</Triggers>
Stephen Hewison 31-Oct-13 8:56am    
Your child page should be able to cast it's master page to a specific type of master page. This will give you access to the controls within that master page and will allow your child page to programmatically change the behaviour of your master page. You should be able to disable it by setting enabled on the timer to false.
Bama Boy 1-Nov-13 0:22am    
ok sir

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