i have a page with a timer control. when the page is loaded, it fires a function. my issue is that the title of the page appears initially, but after the timer control function finished, the string in the title disappears. I commented everything out of the timer function and the title in the string still appears. what am i doing wrong?
A:
Can you post your aspx? Is your page title being set programmatically (either client or server side)? Is anything relating to the page title inside an update panel?
palmsey
2009-05-15 14:51:21
every time i try to post the code, stackoverflow truckates it. nothing about the page title is in the updatepanel.
Server_Mule
2009-05-15 15:04:34
+1
A:
If you're using ASP.NET AJAX and programatically define the page title (as opposed to statically having it defined in your .aspx page), then you must re-define it again in your partial page update. It's just the way asp.net ajax works.
Keltex
2009-05-15 14:52:08
i am redefining programatically it in a the timer handler and pageload, yet it still does not set the title.
Server_Mule
2009-05-15 14:57:46
A:
it looks like asp.net ajax does not like the asp:Literal control in the title bar. I removed the literal control from the title bar and replaced it with <% Response.Write(szTitle); %> that worked for me!
Server_Mule
2009-05-15 15:20:33