Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. problem in window.onload function

problem in window.onload function

Scheduled Pinned Locked Moved Web Development
help
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rmesh
    wrote on last edited by
    #1

    The window.onload function was not called i don't know error, can anyone help me please...

    T 1 Reply Last reply
    0
    • R Rmesh

      The window.onload function was not called i don't know error, can anyone help me please...

      T Offline
      T Offline
      taltal81
      wrote on last edited by
      #2

      copy paste here your code

      R 1 Reply Last reply
      0
      • T taltal81

        copy paste here your code

        R Offline
        R Offline
        Rmesh
        wrote on last edited by
        #3

        <%@ Page language="c#" Codebehind="ManageEvents.aspx.cs" AutoEventWireup="false" Inherits="Wild.ManageEvents" validateRequest="false"%> <%@ Register TagPrefix="uc1" TagName="WucTop" Src="UserControls/WucTop.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucHttpsGoogleAnalystics" Src="UserControls/wucHttpsGoogleAnalystics.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucListingMainMenu" Src="UserControls/wucListingMainMenu.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucEventMenu" Src="UserControls/wucEventMenu.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucListingHomeMenu" Src="UserControls/wucListingHomeMenu.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucCountyCityName" Src="UserControls/wucCountyCityName.ascx" %> <%@ Register TagPrefix="iXEditor" Namespace="AES.iXEditor" Assembly="AES.iXEditor" %> Florida Gone Wild if(navigator.appName=="Microsoft Internet Explorer") var trstyle="block"; else var trstyle="table-row"; var ListingId='<%=Session["ListingId"]%>' var WelcomeUserName='<%=Session["WelcomeUserName"]%>' if(ListingId == "") window.location.href=gURL+"ListingRegistration.aspx?Action=Login"; var arrDay=new Array(); var arrMonthlyDay=new Array(); arrDay=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]; arrMonthlyDay=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]; var arrWeek=new Array(); arrWeek=["First","Second","Third","Fourth","Fifth"]; var ExDates=""; var strContent; var Recurring; var EventDataTable; var Rows; var CurrentPage =1; var PicFile</x-turndown>

        G B 2 Replies Last reply
        0
        • R Rmesh

          <%@ Page language="c#" Codebehind="ManageEvents.aspx.cs" AutoEventWireup="false" Inherits="Wild.ManageEvents" validateRequest="false"%> <%@ Register TagPrefix="uc1" TagName="WucTop" Src="UserControls/WucTop.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucHttpsGoogleAnalystics" Src="UserControls/wucHttpsGoogleAnalystics.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucListingMainMenu" Src="UserControls/wucListingMainMenu.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucEventMenu" Src="UserControls/wucEventMenu.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucListingHomeMenu" Src="UserControls/wucListingHomeMenu.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucCountyCityName" Src="UserControls/wucCountyCityName.ascx" %> <%@ Register TagPrefix="iXEditor" Namespace="AES.iXEditor" Assembly="AES.iXEditor" %> Florida Gone Wild if(navigator.appName=="Microsoft Internet Explorer") var trstyle="block"; else var trstyle="table-row"; var ListingId='<%=Session["ListingId"]%>' var WelcomeUserName='<%=Session["WelcomeUserName"]%>' if(ListingId == "") window.location.href=gURL+"ListingRegistration.aspx?Action=Login"; var arrDay=new Array(); var arrMonthlyDay=new Array(); arrDay=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]; arrMonthlyDay=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]; var arrWeek=new Array(); arrWeek=["First","Second","Third","Fourth","Fifth"]; var ExDates=""; var strContent; var Recurring; var EventDataTable; var Rows; var CurrentPage =1; var PicFile</x-turndown>

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          Paste the relevant code.

          --- "Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things." -- Douglas Adams

          1 Reply Last reply
          0
          • R Rmesh

            <%@ Page language="c#" Codebehind="ManageEvents.aspx.cs" AutoEventWireup="false" Inherits="Wild.ManageEvents" validateRequest="false"%> <%@ Register TagPrefix="uc1" TagName="WucTop" Src="UserControls/WucTop.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucHttpsGoogleAnalystics" Src="UserControls/wucHttpsGoogleAnalystics.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucListingMainMenu" Src="UserControls/wucListingMainMenu.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucEventMenu" Src="UserControls/wucEventMenu.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucListingHomeMenu" Src="UserControls/wucListingHomeMenu.ascx" %> <%@ Register TagPrefix="uc1" TagName="wucCountyCityName" Src="UserControls/wucCountyCityName.ascx" %> <%@ Register TagPrefix="iXEditor" Namespace="AES.iXEditor" Assembly="AES.iXEditor" %> Florida Gone Wild if(navigator.appName=="Microsoft Internet Explorer") var trstyle="block"; else var trstyle="table-row"; var ListingId='<%=Session["ListingId"]%>' var WelcomeUserName='<%=Session["WelcomeUserName"]%>' if(ListingId == "") window.location.href=gURL+"ListingRegistration.aspx?Action=Login"; var arrDay=new Array(); var arrMonthlyDay=new Array(); arrDay=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]; arrMonthlyDay=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]; var arrWeek=new Array(); arrWeek=["First","Second","Third","Fourth","Fifth"]; var ExDates=""; var strContent; var Recurring; var EventDataTable; var Rows; var CurrentPage =1; var PicFile</x-turndown>

            B Offline
            B Offline
            Bjohnson33
            wrote on last edited by
            #5

            Um, you haven't got a window.onload call in that code. Try adding an onload event to your body tag: cheers Ben

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups