Naweed, thanks very much, it worked ! Karthick
-----Original Message----- From: Naweed Akram [mailto:[EMAIL PROTECTED] Sent: 13 October 2004 10:32 To: [EMAIL PROTECTED] Subject: RE: [AspNetAnyQuestionIsOk] Querystring in a new window Use the following: Dim ab as integer = 2 Dim surl As New System.Text.StringBuilder surl.Append("<a href='http://localhost/hhelp/Default.aspx?ab=") surl.Append(ab.ToString()) surl.Append("'>") surl.Append("Report</a> ") Regards Naweed Akram -----Original Message----- From: Karthick Kumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 11:49 AM To: [EMAIL PROTECTED] Subject: RE: [AspNetAnyQuestionIsOk] Querystring in a new window Now that I have made up my mind to build the URL first and then make it open in a new window, I have come to this: Dim ab as integer = 2 Dim surl As New System.Text.StringBuilder surl.Append("<a href='http://localhost/hhelp/Default.aspx?ab='>") surl.Append("'&ab'") surl.Append("Report</a> ") but I am not able to get the value of "ab" appended to the URL which I am building. Please help.. thanks... Karthick -----Original Message----- From: Naweed Akram [mailto:[EMAIL PROTECTED] Sent: 13 October 2004 07:32 To: [EMAIL PROTECTED] Subject: RE: [AspNetAnyQuestionIsOk] Querystring in a new window You cannot open a new window using Response.Redirect. You will need to use window.open() function of JavaScript. Just append the quesrystring values to the end of your URL. Regards Naweed -----Original Message----- From: Karthick Kumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 8:10 PM To: [EMAIL PROTECTED] Subject: RE: [AspNetAnyQuestionIsOk] Querystring in a new window Hi, I can do the response.redirect, but what I want is to open this in a new window with the 3 query string values, or anybody suggest me to pass these variables to a new opened window... Thanks... Karthick -----Original Message----- From: Steve Parrish [mailto:[EMAIL PROTECTED] Sent: 12 October 2004 18:06 To: [EMAIL PROTECTED] Subject: Re: [AspNetAnyQuestionIsOk] Querystring in a new window Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim myQueryString As String myQueryString = "targetpage.aspx?" & "a=" & a & "&b=" & b & "&c=" & c Response.Redirect(myQueryString) End Sub >Hi, > >I have 3 values, a=1, b=2 and c=3. How do I pass these variables to a new >window in a query string, when I click on a button? >I use Aspx.vb.. > >Regards, >Karthick > > > >[Non-text portions of this message have been removed] > >Yahoo! Groups Sponsor >ADVERTISEMENT ><http://us.ard.yahoo.com/SIG=1291n1utd/M=294855.5468653.6549235.3001176/D=g roups/S=1705006764:HM/EXP=1097682998/A=2376776/R=0/SIG=11ldm1jvc/*http://pro motions.yahoo.com/ydomains2004/index.html> > > > > >Yahoo! Groups Links > >To visit your group on the web, go to: ><http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/>http://groups.yahoo.c om/group/AspNetAnyQuestionIsOk/ > >To unsubscribe from this group, send an email to: ><mailto:[EMAIL PROTECTED] be>[EMAIL PROTECTED] > >Your use of Yahoo! Groups is subject to the ><http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service. -- <mailto:[EMAIL PROTECTED]> Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
