Quantcast
Channel: CodeProject Latest postings for ASP.NET
Viewing all articles
Browse latest Browse all 3938

Returning the date and 'Page_Load' question

$
0
0
Hello
 
I show the date script on an aspx.vb page and have inserted the
 
LblDate.Text = ReturnDate()
 
in an unrelated 'Page_load' since you can only have one Page_Load' per aspx.vb file, can't you? I thought I could 'piggy-back' onto another 'Page_Load' event.
 
Unfortunately, it is not working and I assume it is due to my not placing it properly in the aspx.vb file.
 
How can I deploy
LblDate.Text = ReturnDate()
in its own event in the aspx.vb file without it being compromised?
 
Thank you!

Viewing all articles
Browse latest Browse all 3938

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>