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. ASP.NET
  4. Raising issues while Migrating from1.1 to 2.0

Raising issues while Migrating from1.1 to 2.0

Scheduled Pinned Locked Moved ASP.NET
csharphtml
3 Posts 3 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.
  • Y Offline
    Y Offline
    yuvachandra
    wrote on last edited by
    #1

    Hi all .., in .net 2003, in the Html view with in the body there we got onload="" event which fire during the page is loding like Now we are migrating the 2003 application(Already developed) to the 2005...here we are using master pages ...In all the webpages am using master pages while doing that in the HTML view there is no body tag(and onload="" attribute) for the content pages..But it is must to call alertmsg(); while loding the page ..So plz let me have some solution to solve this scenario or send some related articles ... Thanks in advance yuva :rose:

    S V 2 Replies Last reply
    0
    • Y yuvachandra

      Hi all .., in .net 2003, in the Html view with in the body there we got onload="" event which fire during the page is loding like Now we are migrating the 2003 application(Already developed) to the 2005...here we are using master pages ...In all the webpages am using master pages while doing that in the HTML view there is no body tag(and onload="" attribute) for the content pages..But it is must to call alertmsg(); while loding the page ..So plz let me have some solution to solve this scenario or send some related articles ... Thanks in advance yuva :rose:

      S Offline
      S Offline
      SHatchard
      wrote on last edited by
      #2

      If you add runat="server" and and ID to the body tag on the master page you can then use code such as pageBody.attributes.add("onLoad", "alertmsg()") in your code You will need to explicitly type your reference to the master page so that the control is available. Alternatively you can use FindControl to find the body tag and add the attribute If you need any clarification please post back.

      1 Reply Last reply
      0
      • Y yuvachandra

        Hi all .., in .net 2003, in the Html view with in the body there we got onload="" event which fire during the page is loding like Now we are migrating the 2003 application(Already developed) to the 2005...here we are using master pages ...In all the webpages am using master pages while doing that in the HTML view there is no body tag(and onload="" attribute) for the content pages..But it is must to call alertmsg(); while loding the page ..So plz let me have some solution to solve this scenario or send some related articles ... Thanks in advance yuva :rose:

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #3

        http://msdn.microsoft.com/netframework/programming/breakingchanges/[^]

        Vasudevan Deepak Kumar Personal Homepage Tech Gossips

        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