Migration problem
-
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
-
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
Instead of doing alert messages using the onload function why don't you look at the Page.ClientScript.RegisterClientScriptBlock method in the code behind page. Michael
I firmly believe that any man's finest hour, the greatest fulfillment of all that he holds dear, is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious. Vince Lombardi (1913-1970)