[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Is there a way to use the content of an aspx as the definition of a method to override as is common on some other web application platforms?

Posted on 2003-11-25
1
Medium Priority
?
195 Views
Last Modified: 2010-04-16
I can do this :

  <%@ Page language="c#" Inherits="test.WebForm1" %>

  <script runat="server">

    protected override void doSomething() {

      Response.Write("something...");

    }

  </script>

But would rather do something like this :

  <%@ Page language="c#" Inherits="test.WebForm1" override="doSomething"%>

  something...


Please note this "override" attribute is just a fantasy

as far as I know at the moment. Is there a way to use the

content of an aspx as the definition of a method to override

as is common on some other web application platforms?

0
Comment
Question by:soneal3200
1 Comment
 
LVL 10

Accepted Solution

by:
ptmcomp earned 1000 total points
ID: 9817847
You can override methods in the codebehind but aspx cannot be derrived.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

834 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