|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Source code displays on page
Hello,
This is probably something pretty easy to fix, I just can't think of it and need some suggestions. I have an aspx page that displays with no problems in my internet browser(ie). I shipped a copy of this page to someone else, when they open up the page the source code can be viewed on the page. The offending source code is part of a text area in a form. The other browser does not seem to read the "<%" tags. Any suggestions to get this code to work properly? Thanks in advance, Cam Offending code: <form action="dave1.aspx" method="get"> Start Date <INPUT value= " <%if ((Request.QueryString["start_date"]!="") && (Request.QueryString["start_date"]!=null)) { Response.Write(Request.QueryString["start_date"]); }else { Response.Write(""); }%> " maxLength="10" size="6" name="start_date" onkeypress="window.focus()" onmouseover="window.focus()" onclick="window.focus()"> <input name="submit" type="submit" value="Submit"> </form> |
|
#2
|
|||
|
|||
|
I figured it out. Although I had the dotnet framework installed I did not have asp.net 1.1 running.
|
|
#3
|
|||
|
|||
|
Quote:
Could you kindly elaborate? I am having the same problem when my application was deployed on a new machine. I never started or stopped anything to have ASP.NET running, and I don't see anything under 'services' other than 'ASP.NET State Service', which is an optional thing. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > Source code displays on page |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|