http://msdn2.microsoft.com/en-us/library/aa981241.aspx
However I'm getting hung up on the bit about editing the caml query bit. I don't think I need to worry about that but at this point I'm not so sure.
In my c# object I'm including the following definition to make my property visible:
private bool _showControls;
#region Public Properties
[Browsable(true),
Category("Miscellaneous"),
DefaultValue(ShowControlsDefault),
WebPartStorage(Storage.Personal),
FriendlyNameAttribute("Show Controls"),
Description("Toggles whether controls are shown")]
public bool ShowControls {
get { return _showControls; }
set { _showControls = value; }
}
#endregion
Any input anyone has is greatly appreciated. There's definitely a possibility I'm way off base here as there seems to be a lot of conflicting information floating around (plus there's the old version of sharepoint versus the new and whatnot).
#region Public Properties
[Browsable(true),
Category("Miscellaneous"),
DefaultValue(ShowControlsDefault),
WebPartStorage(Storage.Personal),
FriendlyNameAttribute("Show Controls"),
Description("Toggles whether controls are shown")]
public bool ShowControls {
get { return _showControls; }
set { _showControls = value; }
}
#endregion
Any input anyone has is greatly appreciated. There's definitely a possibility I'm way off base here as there seems to be a lot of conflicting information floating around (plus there's the old version of sharepoint versus the new and whatnot).