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

  • SEARCH
  • Home
  • 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 752847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:49:45+00:00 2026-05-14T14:49:45+00:00

Never seen this before in ASP.NET development. I’m trying to refactor out 40 single-page

  • 0

Never seen this before in ASP.NET development.
I’m trying to refactor out 40 single-page ASP.NET pages to code-behind style.

What does this code do?

// Validate required parameters (if "new", then nothing is required)
if (!this.IsNew())
{
  if (string.IsNullOrEmpty(_billId))
  {
    responseErrorNo = 4;
    Utils.SendError(respErrNum);
  }
}

Its on a single-page design ASP.NET page in the block in the Page_Load method.

On a code-behind page this code ( .IsNew) is not recognized. What am I missing here?
Is there an MSDN page on IsNew of the “page”?

update
Ok. This is my dumbkoff move of the day.
There was a little method hidding at the bottom of the server-side
was protected bool IsNew()

see comments about the inheritance point.
http://msdn.microsoft.com/en-us/library/015103yb.aspx

  • 1 1 Answer
  • 0 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-14T14:49:45+00:00Added an answer on May 14, 2026 at 2:49 pm

    Have you done a search through all the source files for IsNew?

    Some possibilities
    1. This is a method inherited from a base class, if you have one of course
    2. IsNew might be an extension method. http://msdn.microsoft.com/en-us/library/bb383977.aspx
    3. IsNew is a member of the class

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

Sidebar

Related Questions

can ASP.NET controls be used with generics? Never seen this done and want a
I have seen this macro defined before but never really knew its purpose. Can
I have never seen a way to do this nicely, i would be interested
How do you update this? I've never seen any current team that actually checks
I've seen many questions about this, but i've never really got the answer that
I've never seen undef - or any thing else that allows you to undefine
The use of XSLT (XML Stylesheet Language Transform) has never seen the same popularity
The use of weak references is something that I've never seen an implementation of
I've used some very large scale systems and never seen a required order, but
While I've seen rare cases where private inheritance was needed, I've never encountered a

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.