Solved

How do I create a Virtual page object?

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

831 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