How do I create a Virtual page object?

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
newbiewebSr. Software EngineerAsked:
Who is Participating?
 
Carl TawnSystems and Integration DeveloperCommented:
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
 
ALaRivaCommented:
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
 
newbiewebSr. Software EngineerAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.