Solved

How do I create a Virtual page object?

Posted on 2011-02-15
3
223 Views
Last Modified: 2012-05-11
I want a page which I can inherit from, and provide certain functionality , such as permissions tests.

If I created a new web form, I think that might work on the C# end. But then I'd have an aspx page that was not needed, since I do not want to render this virtual page.

Let me know...

newbieweb
0
Comment
Question by:newbieweb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Assisted Solution

by:ALaRiva
ALaRiva earned 100 total points
ID: 34899699
This is an older tutorial. It still shows you how, but better than myself trying to write a shorter version here.

http://www.4guysfromrolla.com/articles/041305-1.aspx
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 400 total points
ID: 34900045
You don't need to create an ASPX file, a simple class file will do the job, so long as it inherits from Page.
0
 

Author Closing Comment

by:newbieweb
ID: 34916422
Thanks!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question