Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Refrerring back to main window from search panel after using Target = '_search'

Reply
Thread Tools

Refrerring back to main window from search panel after using Target = '_search'

 
 
Pealy
Guest
Posts: n/a
 
      04-22-2004
I have a link in my asp page which opens another page in the IE search
panel. This page is a long list (obout treeview) and I'd like clicking
on a node to open a page in the main window, leaving the serach panel
intact.

Everything I do seems to open the page in the search window where the
click happened. I'm new to ASP so I'm using very basic stuff, I'm
assuming the Target tag is the thing I need to get right?

The nodes include the html href='clickapage.aspx' target='_top' but
I've tried all the values I know of in place of _top (_blank, _parent,
_self ) and tried removing the target tag altogether - nothing opens
the page in the correct window.

Can anyone help?
 
Reply With Quote
 
 
 
 
Alan Howard
Guest
Posts: n/a
 
      04-22-2004
It sounds like something you'll need to use client-side script to do.
Perhaps if you use Javascript's window.open method to open the node-list
page from your first page, you can get a reference to the parent using the
window.opener method and change its window.location property (to open page
for the node that was clicked in the node-list page). Anyway, I think it's a
client-side issue so you'll be better off in a Javascript group (I won't
even comment on the .aspx).

Alan

"Pealy" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> I have a link in my asp page which opens another page in the IE search
> panel. This page is a long list (obout treeview) and I'd like clicking
> on a node to open a page in the main window, leaving the serach panel
> intact.
>
> Everything I do seems to open the page in the search window where the
> click happened. I'm new to ASP so I'm using very basic stuff, I'm
> assuming the Target tag is the thing I need to get right?
>
> The nodes include the html href='clickapage.aspx' target='_top' but
> I've tried all the values I know of in place of _top (_blank, _parent,
> _self ) and tried removing the target tag altogether - nothing opens
> the page in the correct window.
>
> Can anyone help?



 
Reply With Quote
 
 
 
 
Pealy
Guest
Posts: n/a
 
      04-23-2004
Cheer Alan, looks like I need to get a good book.

N.
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in setting Target Node and Target Tree Property mohit ASP .Net 0 01-23-2008 05:41 AM
[XML Schema] Including a schema document with absent target namespace to a schema with specified target namespace Stanimir Stamenkov XML 3 04-25-2005 09:59 AM
After 1.0.1 patch, <window id="main window" is all I see ion Firefox 4 03-13-2005 08:15 PM
Change main window href from IE search panel, after user has left my main page? Robert Oschler Javascript 1 10-12-2004 08:34 PM



Advertisments