Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Showing custom properties for page subclasses in Properties pane

Reply
Thread Tools

Showing custom properties for page subclasses in Properties pane

 
 
Harlan Messinger
Guest
Posts: n/a
 
      02-18-2008
I have ManagerPage.aspx in my AppCode directory:

public class ManagerPage : System.Web.UI.Page
{
private bool checksAccess;
[EditorBrowsable(EditorBrowsableState.Always),Categ ory("Behavior")]
protected bool ChecksAccess
{
get { return checksAccess; }
set { checksAccess = value; }
}
public ManagerPage()
{
//
// TODO: Add constructor logic here
//
}
}

and a web form that inherits from ManagerPage instead of
System.Web.UI.Page. The page functions as expected in the browser. But
in VS2005, the ChecksAccess property doesn't appear in the page's
Properties pane regardless of what view (design or source) I have the
page in. Is there some way to make this property visible and editable?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding Navigation Pane/ Favorite Pane in Windows 7 Tech Guy Windows 64bit 0 04-03-2011 04:19 PM
Login control missing some properties in the properties pane Adam M ASP .Net 1 01-23-2008 10:06 PM
VS2005 not showing events window in property pane for any web controls Sunfire ASP .Net 2 11-08-2007 12:47 AM
can't view chm files Error(nothing is displayed on the right pane after clicking the left pane) Patrick.O.Ige ASP .Net 0 08-31-2006 04:56 AM
Properties pane of custom control doesn't change in design time George ASP .Net Building Controls 4 01-19-2004 01:48 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57