JavaScript Question

  • Thread starter Thread starter Barry
  • Start date Start date
B

Barry

Hi

If i want to pupulate select control in javascript code at startup, which
event do i have to call, the forms Load event is used for someother
purpose.

TIA
Barry
 
You can use the <body onload=""> or combine the populating code with
whatever you are already using the <form onload=""> for.
 
Hi,

You can select the aspx page load event and you can call

Page.ClientScript.RegisterClientScriptBlock(Me.GetType, "rel",
"<script language=javascript>window.open
('TestpopupPage.aspx','test','toolbar=no,scrollbars=yes,height=500,width=700');</
script>")

Thanks

Ramesh
 
Back
Top