Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 4th, 2008, 02:14 AM
Authorized User
 
Join Date: May 2008
Location: Hyderabad, AP, India.
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..

  #2 (permalink)  
Old November 4th, 2008, 10:46 AM
Friend of Wrox
 
Join Date: Nov 2007
Location: Central Florida, USA.
Posts: 207
Thanks: 2
Thanked 15 Times in 15 Posts
Default

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

Jason Hall
  #3 (permalink)  
Old November 4th, 2008, 06:21 PM
Friend of Wrox
 
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

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

If you do
    Target="BOB"
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.
  #4 (permalink)  
Old November 14th, 2008, 08:33 PM
Registered User
 
Join Date: Oct 2008
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

Pankaj
www.dotnetspark.com
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 11:09 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.