I have a default.aspx page that needs to be refresh every 10 sec.
My solution so far is a javascript function, but it only works in Firefox and not IE.
I’m looking for a way to handle the refresh mecanism in the default.aspx.cs page instead, with some sort of Timer.
Any good simple sugestions/hints or solutions out there that can lead me in the right direction?
There is a timer that is included with ms ajax in the toolbox. Add a ScriptManager, put the content you want refreshed inside an UpdatePanel and then add the ajax timer.
The appropriate cross browser scripting will then be generated for you.
You can view a quick tutorial here How do I use the aspnet ajax timer control
There are other more complex techniques which may be more efficient, but this will give you good results for a few minutes work.