Asp.net Ajax timer control

I have a page with a timer. when the page is loaded, it runs the function. my problem is that the page title appears initially, but after the timer control function finishes, the row in the title disappears. I commented out everything from the timer function and the title in the line still appears. what am I doing wrong?

+1


a source to share


2 answers


If you are using ASP.NET AJAX and you programmatically define the title of the page (as opposed to defining it statically in the .aspx page), you must override it again in your partial page refresh. This is just the way asp.net ajax works.



+1


a source


it looks like asp.net ajax doesn't 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); %> it worked for me!



0


a source







All Articles