Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8943369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:45:09+00:00 2026-06-15T11:45:09+00:00

I am using ASP.NET 3.5. I have a content page and I want to

  • 0

I am using ASP.NET 3.5.

I have a content page and I want to call a javascript function on this page’s load event.

I tried adding:

onload=”GetLocalDate();”

within the content page placeholder tag, but it is not working. But when I call this function from any button’s OnClientClick event, it works.

How to make it work on Content Page’s load event?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T11:45:10+00:00Added an answer on June 15, 2026 at 11:45 am

    The content page “Placeholder” tag is a server side only control. It doesn’t produce any code on the client other than arranging its contents etc. As such, the JavaScript onload handle is never rendered.

    Examine your browser / client-side source to verify this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using ASP.NET MVC and want to update content on my page based
I have made a website using( Asp.net, c# ) and its content in English
I have an ASP.NET page (WebForm) on which I set the content of a
I'm generating a table of content in an ASP.NET page and I want to
I have a asp.net page I'm writing and I'm perplexed by this problem. I
I m making an ajax call using jQuery to an ASP.NET page which acts
I have a jquery ajax call asp.net web service question. I want to validate
I have a simple JQuery enabled ASP.NET page: <script> $(document).ready(function() { $(#accordion).accordion(); }); </script>
sending mail along with embedded image using asp.net I have already used following but
I'm using ASP.NET MVC and have a model which has an image (byte array)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.