Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/11/2007, 05:35
Carmen ...
 
Fecha de Ingreso: agosto-2007
Mensajes: 12
Antigüedad: 16 años, 7 meses
Puntos: 0
Re: Veo el codigo no el diseño

Hola komodo, mira
· Este es el codigo que tiene el boton "añadir a la cesta":
on (release) {
al = 500;// alto del popup a lanzar
an = 600;// ancho del popup a lanzar
getURL("javascript:NewWindow=window.open('Default. aspx?v=2','pop1','width=600,height=500,toolbar=No, location= No,scrollbars=Yes,status=No,resizable=No,fullscree n =No,top='+((screen.height/2)-("+al/2+"))+',left='+((screen.width/2)-("+an/2+"))+'"+"');void(0);");
}

· y este el documento Default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Debug="true" %>

<!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>Creatica - Carrito</title>

</head>
<body>
<form id="form1" runat="server">
<div>
<label id="lbl" class="text"> </label><br/>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
<label id="lblcantidad" class="text">Selecciona cuantos ejemplares de este libro quiere comprar:</label>
<asp:DropDownList ID="DropDownList1" runat="server" /><br/>
&nbsp;<br />
<div class="botonera">
<asp:Button id="btnanadir" Text="añadir" runat="server" OnClick="a_Click" />

<asp:Button ID="btnfinalizar" runat="server" Text="Finalizar Compra" OnClick="Finalizar_Click" />

<a id="Cancelar" runat="server" href="#" onclick="window.close();" >Cancelar</a>
<br />

<asp:Label ID="lbllista" runat="server" CssClass="lista"></asp:Label><br />
<br />
<asp:GridView ID="GridView1" runat="server">
</asp:GridView>
</div>
</div>
</form>
</body>
</html>

A lo del servidor ni idea.... Crei que seria por que el navegador estaba antiguo pero le he actualizado y nada.
Gracias