Ver Mensaje Individual
  #5 (permalink)  
Antiguo 06/08/2009, 01:38
Avatar de jahman
jahman
 
Fecha de Ingreso: noviembre-2003
Ubicación: Oslo
Mensajes: 230
Antigüedad: 21 años, 3 meses
Puntos: 0
Respuesta: links no abren en contentplaceholder

bueno te envio los codigo...

datasample.aspx
Código:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DataSample.aspx.cs" Inherits="DataSample" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="14pt" Text="Contact List"></asp:Label><br />
        Enter name or number &nbsp;<asp:TextBox ID="Clave" runat="server" OnTextChanged="TextBox1_TextChanged"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Search" />&nbsp;<br />
        <br />
        &nbsp;&nbsp;
    
    </div>
    <asp:GridView ID="GRID" runat="server">

</asp:GridView>
        &nbsp;&nbsp;
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:contactsDataConnectionString %>"
            SelectCommand="SELECT Name, LastName, Address, PostCode, City, Birthdate, Mobil, Phone, Country FROM Person WHERE (Name LIKE '%' + @Name + '%') OR (Mobil LIKE '%' + @Mobil + '%') OR (Country LIKE '%' + @Country + '%')">
            <SelectParameters>
                <asp:ControlParameter ControlID="Clave" Name="Name" PropertyName="Text" Type="String" />
                <asp:ControlParameter ControlID="Clave" Name="Mobil" PropertyName="Text" />
                <asp:ControlParameter ControlID="Clave" Name="Country" PropertyName="Text" />
            </SelectParameters>
        </asp:SqlDataSource>
    </form>
</body>

default.aspx
Código:
<%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" Title="Home" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
    <div style="text-align: left">
        &nbsp;<asp:Label ID="Label1" runat="server"  Height="21px" Width="96px"></asp:Label>
        <br />
        <br />
        Welcome asd asdasdasdasd
        
    </div>
</asp:Content> 
en default.aspx lo muestro sin problemas en el contenplaceholder ya que solo hagola simple referencia como podras ver ademas es la pagina de bienvenida lo que quiero es como te dije las paginas que tengo en el menu mostrarlas ahi mismo.
gracias por tu respuesta.