Raising issues while Migrating from1.1 to 2.0
-
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:
-
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:
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. -
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:
http://msdn.microsoft.com/netframework/programming/breakingchanges/[^]
Vasudevan Deepak Kumar Personal Homepage Tech Gossips