Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

frameset / banner page with timestamp

Status
Not open for further replies.

ISPrincess

Programmer
Feb 22, 2002
318
US
I have a frameset where on the banner page I have a label. On the page load event of the Banner.aspx I state the following

lblDate.text = now()

I would like to have this data auto-update or update on some sort of basis.

Is this possible in asp.net?

thank you.

PH
I was walking home one night and a guy hammering on a roof called me a paranoid little weirdo.
In morse code.
-Emo Phillips
 
Not quite what you requested but if you place the code setting the text to now in the Page Load event (without checking IsPostBack) the time will be updated each time the page posts back to the server.

Hope this helps.

Hope everyone is having a great day!

Thanks - Jennifer
 
yes - I would like that to happen actually. but in frameset - it does not post back each time.

PH
I was walking home one night and a guy hammering on a roof called me a paranoid little weirdo.
In morse code.
-Emo Phillips
 
How about using tables instead of banners? You could make the banner a user control instead of an html page and still get the same reusability as you were getting in frames only it would postback every time the page did. Just assign it in the right place in a table to make the layout look like frames.
 
Well.... that would change the ENTIRE application just to display date and time.

Thanks but, I would rather just verify if anyone has any ideas on how to refresh date/time in banner frame.



PH
I was walking home one night and a guy hammering on a roof called me a paranoid little weirdo.
In morse code.
-Emo Phillips
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top