Results 1 to 3 of 3

Thread: First line of Default.aspx Parser Error

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2010
    Posts
    87

    First line of Default.aspx Parser Error

    How do I change the first line.

    Site.Master exists with no errors.

    Default.aspx also has no errors and _Default works.

    It is just the first line. At first there is no errors then when you run it it gives a Parser Error up to Site.Master.

    Code:
    <%@ Page Title="JSON Edit To JSON and XML" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.vb" Inherits="JSONeditJSONandXML._Default" %>

  2. #2
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    2,020

    Re: First line of Default.aspx Parser Error

    Is your class name in code-behind JSONeditJSONandXML or _Default just like the code below?

    Code:
    Partial Class _Default
    'other codes
    End Class
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal | Programming
    Projects: GitHub | jsFiddle
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,929

    Re: First line of Default.aspx Parser Error

    Thread moved to the 'ASP.Net' forum, which is where questions about .Net web pages etc belong

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width