Wrox Programmer Forums
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 4th, 2008, 02:14 AM
Authorized User
Join Date: May 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to kalyanykk
Default Ajax Problem

Hi All,
       I am running an application in C# Dot Net2008
I have a page which contains several links for redirecting to
other pages. when i click on any one link it has to redirect to the specified URL which i will mention in the same window.

But my problem is when i click on any one link it is redirecting in a new window. I dont want like that. I want to redirect in same window. It has update panel. Can any plz suggest me how to rectifiy it & what was the problem..

Old November 4th, 2008, 10:46 AM
Friend of Wrox
Join Date: Nov 2007
Posts: 207
Thanks: 2
Thanked 15 Times in 15 Posts

if you see Target="_blank" remove that from your link tag.

Jason Hall
Old November 4th, 2008, 06:21 PM
Friend of Wrox
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts

Actually, if you see
where the ... is anything at all, remove it.

If you do
then it's true you'll only get ONE "popup" window and all the links will go to it (because all see "BOB" as the target), but you *will* get that one unwanted popup.
Old November 14th, 2008, 08:33 PM
Registered User
Join Date: Oct 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

   or you can use TARGET = "_self" in an anchor tag.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with AJAX in Firefox geoko BOOK: Professional Ajax ISBN: 978-0-471-77778-6 2 June 27th, 2009 11:57 AM
Problem with ajax updatepanel alexmalayil ASP.NET 2.0 Professional 0 October 18th, 2007 05:07 AM
problem with ajax amit1me BOOK: Professional Ajax ISBN: 978-0-471-77778-6 1 September 28th, 2007 01:14 AM
Problem with Ajax angshujit ASP.NET 2.0 Basics 10 February 16th, 2007 03:40 AM
problem with ajax amit1me Ajax 2 January 16th, 2007 02:36 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.