Código PHP:
Response.Write("<script language=Javascript>alert('Elr')</script>")
"Ruta del archivo\Ciudad.aspx": ASP.Net runtime error: Only Content Controls are allowed directly in a Content Page that contains content controls.
Este es el codigo de mi masterpage:
Código PHP:
<%@ Master Language="VB" %>
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<link href="StyleSheet.css" rel="Stylesheet" type="text/css" />
<title>Untitled Page</title>
</head>
<body class="twoColFixLtHdr">
<div id="container">
<div id="header">
<h1>
<img src="Images/Titlebar.png" /></h1>
</div>
<div id="sidebar1">
<p>
<img src="Images/Sidebar.png" style="position: relative" /> </p>
<p> </p>
<p> </p>
<p> </p>
<!-- end #sidebar1 -->
</div>
<form id="form1" runat="server">
<div id="mainContent">
<asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
<h1> </h1>
<!-- end #mainContent -->
</asp:ContentPlaceHolder></div>
</form>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
<div id="footer">
<img src="Images/Footer.png" />
<!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>