test
8/17/2011 9:19:00 PM
Is there anyway i can run RegisterStartupScript more than one time? I
realize that it was desinged to run once, but.....
The code below works fine but it only runs one time.
JAVASCRIPT
function testthis(myString1) {
alert(myString1);
}
VB.NET
For ii = 0 To myArrray.Length - 1
Call myFunction("myString1)
Next
Sub myFunction(ByVal myString1 As String)
Page.ClientScript.RegisterStartupScript(Me.GetType(), "ClientScript",
testthis(" + myString1 + ")", True)
End Sub
Thanks,
Dave