N
Nathan Baulch
How do I apply a custom attribute to a page that doesn't have a CodeBehind
file?
I've tried the following but my attribute ends up on the default public
constructor rather than the Page class itself.
<%@ Page Language="C#" %>
<script runat="server">
[MyCustomAttribute]
</script>
<html>
<body />
</html>
Cheers,
Nathan
file?
I've tried the following but my attribute ends up on the default public
constructor rather than the Page class itself.
<%@ Page Language="C#" %>
<script runat="server">
[MyCustomAttribute]
</script>
<html>
<body />
</html>
Cheers,
Nathan