|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
page postback relatedHi,
I'm newbie to .net..I need some info. How does asp.net recognize if a page is requested for teh first time or is it a postback? On Tue, 12 Dec 2006 04:11:02 -0800, AVL wrote:
> Hi, Wrap your code on the page load as follows:> I'm newbie to .net..I need some info. > How does asp.net recognize if a page is requested for teh first time or is > it a postback? if not Page.IsPostBack ' ' The page is requested for the first time. ' Do the stuff for loading the first time ' else ' ' It is a postback. Run your logic ' end if |
|||||||||||||||||||||||