In postopen event on client application i have some code to refresh document such as :
@Command([RefreshHideFormulas]);
@Command([EditDocument];“1”);
@Command([ViewRefreshFields])
so my qns is—>
what could be the alternative for the web application as there is no postopen event for web application and what i have to write to refresh ??
MR. Litty joseph suggested me the following…i have pasted it in javascript header .But then where i have to call the following function??..
function refresh(){
// Emulates refresh on keyword change.
// Call to retain field values while recalculating form.
if( window.document.forms[0].name == “” ) {
// read mode
window.location.reload(true);
return false;
}
else{
// edit mode
_doClick(‘$Refresh’, this, null, null);
return false;
}
}
Thanks & Regards
Rupesh