Click here to Skip to main content
15,925,723 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Problem with asp.net validators .net 2.0 Pin
Ravi_2127-May-08 19:35
Ravi_2127-May-08 19:35 
QuestionDisplaying an image in a Datalist instead of a checkbox field? Pin
Nostrom027-May-08 6:32
Nostrom027-May-08 6:32 
QuestionASP.net to C#.net problem Pin
Verghese27-May-08 5:54
Verghese27-May-08 5:54 
AnswerRe: ASP.net to C#.net problem Pin
Christian Graus27-May-08 17:43
protectorChristian Graus27-May-08 17:43 
AnswerRe: ASP.net to C#.net problem Pin
Vasudevan Deepak Kumar27-May-08 19:04
Vasudevan Deepak Kumar27-May-08 19:04 
GeneralRe: ASP.net to C#.net problem Pin
Verghese29-May-08 6:26
Verghese29-May-08 6:26 
QuestionSQL "WHERE" Statement Boolean filtering Pin
Nostrom027-May-08 5:50
Nostrom027-May-08 5:50 
AnswerRe: SQL "WHERE" Statement Boolean filtering Pin
J4amieC27-May-08 6:15
J4amieC27-May-08 6:15 
GeneralRe: SQL "WHERE" Statement Boolean filtering Pin
Nostrom027-May-08 6:34
Nostrom027-May-08 6:34 
QuestionCrystal Reports Components Version Update (VS 2005 Prof Ed) Pin
Jay_se27-May-08 5:15
Jay_se27-May-08 5:15 
Questionhow can we set master page inside contentplaceholder of another masterpage Pin
Be_Aman27-May-08 4:33
Be_Aman27-May-08 4:33 
AnswerRe: how can we set master page inside contentplaceholder of another masterpage Pin
James Simpson28-May-08 4:24
James Simpson28-May-08 4:24 
Questionupgraded to vwd 2008 and framework3.5 Pin
eyeseetee27-May-08 4:24
eyeseetee27-May-08 4:24 
AnswerRe: upgraded to vwd 2008 and framework3.5 Pin
N a v a n e e t h27-May-08 6:27
N a v a n e e t h27-May-08 6:27 
GeneralRe: upgraded to vwd 2008 and framework3.5 Pin
eyeseetee27-May-08 21:38
eyeseetee27-May-08 21:38 
QuestionUsing HttpHandler to catch right-click requests Pin
NeverHeardOfMe27-May-08 3:03
NeverHeardOfMe27-May-08 3:03 
QuestionHow to connect an ASP.Net mobile application to sql server 2005 Pin
Nicole_H27-May-08 2:36
Nicole_H27-May-08 2:36 
AnswerRe: How to connect an ASP.Net mobile application to sql server 2005 Pin
eyeseetee27-May-08 2:45
eyeseetee27-May-08 2:45 
QuestionAsp.net Forum Source Code Pin
Tiger45627-May-08 2:20
Tiger45627-May-08 2:20 
AnswerRe: Asp.net Forum Source Code Pin
eyeseetee27-May-08 2:42
eyeseetee27-May-08 2:42 
AnswerRe: Asp.net Forum Source Code Pin
Vasudevan Deepak Kumar27-May-08 6:04
Vasudevan Deepak Kumar27-May-08 6:04 
QuestionRunning excel reports without installing excel in Server Pin
K.P.Kannan27-May-08 2:02
K.P.Kannan27-May-08 2:02 
Questionscript src=js-file.aspx [modified] Pin
peakss27-May-08 1:54
peakss27-May-08 1:54 
I get an XML error when I try to do this from within my view, main.aspx, in Internet Explorer 6 and 7.
And it's only happening when I access the file with IE. In Firefox it is working.

The strange part is that there is no XML in the solution what so ever, none - nada!


main.aspx source:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="main.aspx.vb" Inherits="main" %>
<!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>
<title></title>
<script src="dynamic.js.aspx" type="text/javascript"></script>
</head>
<body>
<h1>test</h1>
</body>
</html>


dynamic.js.aspx source:

<%@ Page Language="VB" %>

Response.AddHeader("Content-Type", "text/javascript")
'Response.setContentType("text/javascript")

alert("js!");

-------------------

What is wrong and how do I fix it?

Thank you.

<div class="ForumMod">modified on Wednesday, May 28, 2008 1:49 AM</div>
AnswerRe: script src=js-file.aspx Pin
Christian Graus27-May-08 3:29
protectorChristian Graus27-May-08 3:29 
GeneralRe: script src=js-file.aspx Pin
peakss27-May-08 19:48
peakss27-May-08 19:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.