Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 667545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:56:25+00:00 2026-05-13T23:56:25+00:00

I have an ASPX Page: <%@ Page Language=C# MasterPageFile=~/site.Master AutoEventWireup=true CodeBehind=Default.aspx.cs Inherits=myProject.Presentation.Web.Default src=Default.aspx.cs %>

  • 0

I have an ASPX Page:

<%@ Page Language="C#" MasterPageFile="~/site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="myProject.Presentation.Web.Default" src="Default.aspx.cs" %>
<%@ MasterType VirtualPath="~/site.Master" %>

...

<asp:Repeater ID="rGrid" runat="server">
 <ItemTemplate>
  ...
 </ItemTemplate>
</asp:Repeater>

With this Master:

<%@ Master Language="C#" AutoEventWireup="true" Codebehind="site.master.cs" Inherits="myProject.Presentation.Web.master" src="~/site.Master.cs" %>

When I try to access one of the members on the page:

namespace myProject.Presentation.Web {
public partial class Default : System.Web.UI.Page
     ...
     rGrid.DataSource = myProject.Business.User.GetReports(UserId, true);

I get this YSOD on that line:

CS0103: The name 'rGrid' does not exist in the current context

Yet Intellisense and Object Exporer say it’s valid. Why is that?

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T23:56:25+00:00Added an answer on May 13, 2026 at 11:56 pm

    Is this a website or web app?

    If it’s a web app, delete your designer files, then right click on your aspx page and/or master page and select convert to web app. This will rebuild the designer files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some HTML, eg: <%@ Page Title=About Us Language=C# MasterPageFile=~/Site.master AutoEventWireup=true CodeBehind=ContentManagedTargetPage.aspx.cs Inherits=xxx.ContentManagedTargetPage
In my default.aspx I have the following: <%@ Page Title=Home Page Language=C# MasterPageFile=~/Site.master AutoEventWireup=true
I have asp.net page like this: Default.aspx: <%@ Page Title=Home Page Language=C# MasterPageFile=~/Site.master AutoEventWireup=true
I am validing the default.aspx(uses master page) of my web site, however; I am
I have the following code in my ASPX side: <%@ Page Language=C# MasterPageFile=~/masterpages/standard.Master ....
I have an updatepanel which doesn't work. My whole code: <%@ Page Language=C# MasterPageFile=~/Master.Master
I have the list box control (ASP.NET Control On aspx page, language C# ).
I have a site for testing Ajax... and it works: <%@ Page Title= Language=C#
<%@ Control Language=C# AutoEventWireup=true CodeFile=WebUserControl.ascx.cs Inherits=WebUserControl %> <script type=text/javascript> function Incrementer() { var txtBox
I have an aspx page with a few textboxes and a submit button. Once

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.