TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abhijit
NA
3
0
Page Directive Attributes
Jul 19 2006 10:20 AM
Hi -
Anyone have experience with custom Page directive attributes? I created a public property in my base page class and simply adding it to the Page directive works if my aspx page uses the Inherits attribute. But it doesn't work with a code-behind. Any ideas?
/**** Base class ****/
class BasePage : System.Web.UI.Page
{
private string _show;
public string ShowHeader
{
get { return _show; }
set { _show = value; }
}
}
/*** ASPX page *****/
<%@ Page Language="C#" ShowHeader="True" %>
---------------------------------
Thanks,
Reply
Answers (
1
)
MMS using servlet and jsp
Application_BeginRequest in Global.asax wont execute!!!