Tuesday, June 28, 2005

Poping new window and to pass variable value from one webform to another in ASP.NET

The code helps in poping new window and to pass variable value from one webform to another. Technology: ASP.NET Language: VB

'Response.Write("<'write script language= javascript here'>" & vbCrLf)' 'Response.Write("wndCht=window.open('http://blrkec32416d/naviwebpage/mainpage.aspx?arg='data' ','','width=650, height=400,toobar=no,addressbar=no,menubar=no,scrollbars=yes,resizable=yes');")' 'Response.Write("<" & "/" & "script" & ">" & vbCrLf)

'Dim str1 As String'

str1 = Request.QueryString("arg")'
TextBox1.Text = str1

Comments Please

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home