tags:

views:

79

answers:

3

hi, i used the following code

<%@ Page Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="Projects.aspx.cs" Inherits="LevoContactManagement.Projects" Title="Untitled Page" %> <%@ Register Assembly="WebControlLib" Namespace="WebControlLib" TagPrefix="cc1" %>

<a href="Projects.aspx" target="iframeTab"> Project Management </a> | <a href="ProjectUsers.aspx" target="iframeTab"> Project Users </a> 
 <iframe src="Projects.aspx" id="iframeTab" width="100%" height="768" frameborder="1" scrolling="auto" />

<asp:GridView DataKeyNames="ID" ID="ctrlGrid" runat="server" AutoGenerateColumns="False" OnDataBound="ctrlGrid_DataBound"
    OnRowDeleting="ctrlGrid_RowDeleting" OnRowEditing="ctrlGrid_RowEditing">
    <Columns>
        <asp:BoundField DataField="Name" HeaderText="Name" />
        <asp:BoundField DataField="CompanyName" HeaderText="Company" />
        <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="~/TimeFilter.aspx?ProjectID={0}" HeaderText="Time" Text="Time" />
        <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="~/ProjectNotes.aspx?ProjectID={0}" HeaderText="Notes" Text="Notes" />
        <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="~/ProjectRequirements.aspx?ProjectID={0}" HeaderText="Requirements" Text="Requirements" />
        <asp:CommandField ButtonType="Button" ShowDeleteButton="True" ShowEditButton="True" />
    </Columns>
</asp:GridView>
<br />
<a href="ProjectEdit.aspx">Add new project</a>

the iframes part

Project Management | Project Users

lets the tabbing come up in the Project.aspx page, but when i click on either of the two tabs it doesnt seem to hyperlink. how can i rectify that?

A: 

sorry, the hyperlinks appear but as a pop up. How can i make it appear on the same window?

Sophie
please take a minute to read the FAQ, this is not a forum.
Mauricio Scheffer
A: 

Just add the Target="windowname" attribute to each of your hyperlinks. If they all use the same target, they'll open in the same window.

ianpoley
A: 

But i did that....

My Projects | Project Management | Project Users

its still popping up!!!

Sophie
please take a minute to read the FAQ, this is not a forum.
Mauricio Scheffer