What is the programming logic used for refresh(F5) in IE. I want t开发者_如何学JAVAo implement the same logic in my C# application. Do anyone know the technical details of it. If so please share the same.
Thanx in advance
Process of F5, calls all the reload functions and functions are called again.
Please clearly specified about what find of application you are building so that i can tell you clearly.
Majorly in ASP.NET if you want to call F5, then simply reload the page by
Response.Redirect(Request.Url.ToString());
for the current page.
Refresh just request the page from server once again
To accomplish this Simply hit the url once again.
Response.Redirect(Url.ToString());
if using Webbrowser
WebBrowser.URL=Url.ToString();
if using Watin IE
ie.Refresh();
if you are facing cache problems , clear the cache and cookies and then refresh
精彩评论