Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. 2010 aspx wiring together issue

2010 aspx wiring together issue

Scheduled Pinned Locked Moved ASP.NET
helpcsharphtmlasp-netquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 8217517
    wrote on last edited by
    #1

    I have a C# asp.net 2010 webform page that I am developing and I have the following two questios: The following is the line of code I am referring to; [^]<%@ Page Title="" Language="C#" MasterPageFile="~/Rpt.Master" AutoEventWireup="true" CodeBehind="Atts.aspx.cs" Inherits="Rpt.WebForm3" %>[^] When I first setup the new webform page, I used the default name of WebForm3 for awhile. After starting to work with the markup file, I renamed the WebForm3 files to Atts in solution explorer. Now the line of code that says Inherits="Rpt.WebForm3" will not allow the web page to work if I change the "Rpt.WebForm3" to ="Rpt.Atts". I do not see a WebForm3 file in the solution file. 1. What could I be doing wrong? Could something be 'wired together' wrong? 2. When the application does not run, I do not know where to check for the real error message that happens? Is there a file a brakpoint spot I should set to see where the problem comes from. What I see is the generic error message in the web config file that displays the final default error message if nothing is runnning.

    L 1 Reply Last reply
    0
    • M Member 8217517

      I have a C# asp.net 2010 webform page that I am developing and I have the following two questios: The following is the line of code I am referring to; [^]<%@ Page Title="" Language="C#" MasterPageFile="~/Rpt.Master" AutoEventWireup="true" CodeBehind="Atts.aspx.cs" Inherits="Rpt.WebForm3" %>[^] When I first setup the new webform page, I used the default name of WebForm3 for awhile. After starting to work with the markup file, I renamed the WebForm3 files to Atts in solution explorer. Now the line of code that says Inherits="Rpt.WebForm3" will not allow the web page to work if I change the "Rpt.WebForm3" to ="Rpt.Atts". I do not see a WebForm3 file in the solution file. 1. What could I be doing wrong? Could something be 'wired together' wrong? 2. When the application does not run, I do not know where to check for the real error message that happens? Is there a file a brakpoint spot I should set to see where the problem comes from. What I see is the generic error message in the web config file that displays the final default error message if nothing is runnning.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Hi So Rpt is your solution name right.When u rename ur file to Atts.aspx the codebhind=CodeBehind="Atts.aspx.cs" . You had wrongly declared in Inherits="Rpt.WebForm3" it must be Inherits="Rpt.Atts". While renaming the file the Visual studio on changes the Codebehind and not the Inherits part. So we need to check. Thanks S.Guhnananth

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups