Balajiprasad's useful codes
Important codings & concepts in web & window applications using microsoft technologies.
Monday, April 9, 2012
Javascript Postback check & execute
<
script
type
="text/javascript">
function
invokeMeMaster() {
var
chkPostBack =
'<%= Page.IsPostBack ? "true" : "false" %>'
;
if
(chkPostBack ==
'false'
) {
alert(
'Only the first time'
);
}
}
window.onload =
function
() { invokeMeMaster(); };
</
script
>
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)