It is a general problem w/ all design time (or include) components
(which add code on file saves or server side)
- not just in FP
The line # in browser will rarely match the line # in FP code view unless the error occurs before any code is added
The only way to find the real error code line is from the error message content or inserting a line in a "suspect" error area to
narrow it down
--
| Kerry,
| Can you post up a link to the offending page. It's not you doing something
| wrong - FP "hides" the validation code until you view the page in your
| browser.
|
| --
| Cheers,
| Jon
| Microsoft MVP
|
|
| | > Sorry, I didn't mean to imply there was an error generated with the
| > validation code. The error might be elsewhere. For instance you get any
| > other
| > erro message that reports a line number. When you open the page in FP and
| > go
| > to code view, you can't find the error as FP has hidden the validation
| > code
| > and renumbered the lines as if it isnt there.
| >
| > This has been an ongoing problem with multiple versions of FP. I must be
| > doing something wrong as I don't see other people commenting on this
| > problem.
| > I'm very puzzeled how they are dealing with this.
| >
| > Kerry
| > Thanks
| > Kerry
| >
| > "Thomas A. Rowe" wrote:
| >
| >> 1. You should never get an error with the FP generated JS Validation
| >> Script, at least I have never
| >> had any JavaScript errors relating to FP JS validation script.
| >>
| >> 2. There is nothing to turn on, as you can only see the JavaScript
| >> Validation when you do a view
| >> source from a browser
| >>
| >> --
| >> ==============================================
| >> Thomas A. Rowe (Microsoft MVP - FrontPage)
| >> WEBMASTER Resources(tm)
| >>
| >> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| >> ==============================================
| >> To assist you in getting the best answers for FrontPage support see:
| >>
http://www.net-sites.com/sitebuilder/newsgroups.asp
| >>
| >> | >> > Maybe this is simple.
| >> >
| >> > When FP adds validation code, it is hidden in the code window. If the
| >> > page
| >> > returns an error with a line number on it, you cannot locate the
| >> > problem
| >> > becase the line numbering shown in code view is not correct. I know
| >> > this
| >> > becasue if I open the same page in another editor I see the correct
| >> > line
| >> > numbers and the hidden code.
| >> >
| >> > I've looked and looked and I cannot fiind an optoin to turn this
| >> > feature on
| >> > or off.
| >> >
| >> > How are people handling this problem?
| >> >
| >> > Thanks
| >> >
| >> > Kerry
| >>
| >>
| >>
|
|