Re: ASP eating Javascript for VB code
From: Bob Lehmann (none)
Date: 03/16/04
- Next message: Peter Beck: "Basic ASP. Net threading question"
- Previous message: Lloyd Sheen: "Re: Why does VS mark files as changed?"
- In reply to: Lloyd Sheen: "ASP eating Javascript for VB code"
- Next in thread: Lloyd Sheen: "Re: ASP eating Javascript for VB code"
- Reply: Lloyd Sheen: "Re: ASP eating Javascript for VB code"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 16 Mar 2004 08:51:40 -0700
So why did you write this...
"I have a page with the following script (no code behind ,using WebMatrix -
customer doesn't want to spend money on dev tools)."?
And, why did you feel the need to start a new thread?
Bob Lehmann
"Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote in message
news:_3F5c.17199$TxJ.2340@news04.bloor.is.net.cable.rogers.com...
> Read all my posts before you jump in with both feet please.
> The customer does not want to pay. The original web app was created with
my
> copy of VS.
>
> If you create a page using the SDK you will have the same problem. If
> people do not complain about problems then they will not be fixed.
> Everything I read (and of course you can't believe everything you read)
> indicates that MS has bitten off much more that they can handle with the
> combination of DOT.NET, SQL Server and the new OS.
>
> I simply cannot understand how a company with that many developers , QA
etc
> cannot parse a simple text file to figure out that the tag is in a
literal.
> If all software was written that poorly then we would not have jobs and
the
> computer industry would never have happened.
>
> Lloyd Sheen
>
> From: "Kevin Spencer" <kevin@takempis.com>
> Subject: Re: ASP eating Javascript from VB code
> Date: Tuesday, March 16, 2004 8:34 AM
>
> Listen, Lloyd. Web Matrix is FREE, and NOT SUPPORTED. So, what are you
> complaining about? Why don't you go out and buy the professional software
> that Microsoft sells (Visual Studio.Net)? There is a reason why so many
> people are willing to pay for it - it saves them money in the long run.
> Think about it. For VS.Net you pay once, and get a whole lot of
productivity
> increase. Which costs more - software or programmer salaries?
>
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
>
> "Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote in
message
> news:3Er5c.3189$TxJ.993@news04.bloor.is.net.cable.rogers.com...
> > All fixes by not having the tag show work. I would just like MS to fix
> the
> > problem. I have to say that the new development platforms and .NET have
> > many problems. Not being able to parse HTML though is a problem that I
> > would think MS would fix. Surely they understand when it reaches a
> literal
> > value. I guess not. Maybe all those MS haters are correct.
> >
> > Perhaps too much work on security and not enough on getting the dev
tools
> > correct. I can only imagine from reading the newsgroups over that last
> > couple of years that there is an inordinate amount of workaround code in
> > current .NET apps. I wonder what will happen with next release to break
> all
> > those workarounds.
> >
> > Lloyd Sheen
> >
> > "Yama" <ykamyar@grandpacificresorts.com> wrote in message
> > news:%23JYNEouCEHA.1588@tk2msftngp13.phx.gbl...
> > > Hello there,
> > >
> > > Try to change it:
> > > popupScript += "</" & "script>"
> > >
> > > Hope it resolves your issue.
> > > Please let me know,
> > >
> > > Yama
> > >
> > > "Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote in
> > message
> > > news:%1q5c.2862$TxJ.809@news04.bloor.is.net.cable.rogers.com...
> > > > I have a page with the following script (no code behind ,using
> > WebMatrix -
> > > > customer doesn't want to spend money on dev tools).
> > > >
> > > > 'Dim psInfo() As String
> > > > 'psInfo = Split(psSV, "/")
> > > > psURL += "UID=" & psInfo(0).Trim & "&Lang=" & psInfo(1).Trim
> > > >
> > > > popupScript = "<script language='javascript'>"
> > > > popupScript += "window.open('PopUp.aspx', 'CustomPopUp', "
> > > > popupScript += "'width=200, height=200, menubar=yes,
> resizable=no')"
> > > > 'popupScript += "</script>"
> > > >
> > > > Response.Redirect(psURL)
> > > > End Sub
> > > >
> > > > When I run this I get the following error:
> > > >
> > > > Compilation Error
> > > > Description: An error occurred during the compilation of a resource
> > > required
> > > > to service this request. Please review the following specific error
> > > details
> > > > and modify your source code appropriately.
> > > >
> > > > Compiler Error Message: BC30289: Statement cannot appear within a
> method
> > > > body. End of method assumed.
> > > >
> > > > Source Error:
> > > >
> > > >
> > > > Line 280: #End ExternalSource
> > > > Line 281:
> > > > Line 282: Public Sub New()
> > > > Line 283: MyBase.New
> > > > Line 284: Dim dependencies As
System.Collections.ArrayList
> > > >
> > > >
> > > > If I remove the line 'popupScript += </script> and notice it is
> > > > commented the error goes away. I guess ASP parsing is not that
good.
> > > >
> > > > Any suggestions.
> > > >
> > > > Lloyd Sheen
> > > >
> > > >
> > >
> > >
> >
> >
>
>
>
- Next message: Peter Beck: "Basic ASP. Net threading question"
- Previous message: Lloyd Sheen: "Re: Why does VS mark files as changed?"
- In reply to: Lloyd Sheen: "ASP eating Javascript for VB code"
- Next in thread: Lloyd Sheen: "Re: ASP eating Javascript for VB code"
- Reply: Lloyd Sheen: "Re: ASP eating Javascript for VB code"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|