1

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?

2 Answers 2

1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

i am redefining programatically it in a the timer handler and pageload, yet it still does not set the title.
0

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!

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.