Solved

How do I create a Virtual page object?

Posted on 2011-02-15
3
217 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
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now