Hi,
not sure if this is the right forum but here Go!
I have a script I want to run from my code:
Dim script as String
script &= "<script language=""javascript"">" & vbCrLf
script &= "<!--" & vbCrLf
script &= " function VisBilde()" & vbCrLf
script &= " {" & vbCrLf
script &= " var url = ['" & pUrl & "']" & vbCrLf
script &= "window.open(url, '', 'width=600,height=600');" & vbCrLf
script &= " }" & vbCrLf
script &= "//-->" & vbCrLf
script &= "</script>" & vbCrLf
Me.Page.RegisterStartupScript("KjMerke", script)
Is this the way to run a script from my .Net code.
I want to open another page after the user has saved his entries.
Hope somone can help me
When I run this code, nothing happens.
(No error message anywhere)
What should I do?
not sure if this is the right forum but here Go!
I have a script I want to run from my code:
Dim script as String
script &= "<script language=""javascript"">" & vbCrLf
script &= "<!--" & vbCrLf
script &= " function VisBilde()" & vbCrLf
script &= " {" & vbCrLf
script &= " var url = ['" & pUrl & "']" & vbCrLf
script &= "window.open(url, '', 'width=600,height=600');" & vbCrLf
script &= " }" & vbCrLf
script &= "//-->" & vbCrLf
script &= "</script>" & vbCrLf
Me.Page.RegisterStartupScript("KjMerke", script)
Is this the way to run a script from my .Net code.
I want to open another page after the user has saved his entries.
Hope somone can help me
When I run this code, nothing happens.
(No error message anywhere)
What should I do?