Solved

ASP.NET - execute javascript from the page load event.

Posted on 2008-06-16
1
1,160 Views
Last Modified: 2013-11-07
I need to execute a javascript function when a page loads for the first time.  I need it to only execute on the first page load and not on postbacks.  Therefore, the way I see it, the code that does this needs to go into the VB.NET code behind file so that I can slip it into an Not IsPostback if statement.
0
Comment
Question by:josephdaviskcrm
1 Comment
 
LVL 63

Accepted Solution

by:
Zvonko earned 500 total points
ID: 21795651
Have a look at this http:Q_23164405.html#20898269
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question