how can i check if page was initialiy loaded or if it’s postback?
???
if request.servervariables(“REQUEST_METHOD”) = “POST” then
'a post has been done
else
'a post has NOT been done
end if
You need to remember your html form must be set to method=“POST”
just check. IspostBack property of the page. like this.
if isPostback =True then
'Page is posted back
else
'page is not initially loaded.
“is this help you or not”?
Sorry mr.saif, I just noticed the post has been moved to the ASP.NET forum. I don’t know why though? Perhap Europheak asked for it to be moved.
its okey
that’s exacly what i wanted. works great. thx all!!!