QUALITY DATA

Web Site Management Tools

1-888-632-7449

Client Area

Membership Manager

Membership Management for Asp.Net

The comments view provides you with a convenient way to modify or enter comments for the selected membership user. Since comments are stored in a SqlServer nText field, you actually have quite a bit of storage space to maintain information on each user.

As illustrated below, the various methods in the Membership Manager Control will automatically append a time-stamped comment indicating the activity. You may also use this as a customer service tool for documenting interactions with members.

membership manager

To edit comments for a particular member, first select the member record then click the change hyperlink next to the Comments Heading on the Summary Panel.


Customizing the view (design time)

The Heading Text and Edit Comments prompt may be modified by changing the EditCommentsTitle, EditCommentsPrompt properties in the Visual Studio 2005 Properties pane.

While simple label and style changes might be adequate for your needs, you may also wish to take advantage of the Convert to Template option which exposes the view's constituent web controls for formatting and editing.


membership manager

As illustrated, the Tasks panel includes an option to select the desired view then Convert to Template changes it to a templated panel.

Just like the Asp.Net Login Controls, templated views allow you to change the layout and content of the panel. You actually have a lot of flexibility when doing so, however you must not delete or change the name of the active controls such as the text box, the OK button or the Cancel Button.

The following is an example of a panel that has been converted to a template then customized with additional controls:


membership manager

As you can see, the modified control may contain additional controls and varied formatting. 

Control properties do not apply to templated views


When you convert a view to a templated view, the constituent controls are created using the current properties which have been set (styles, text, etc.) The next time you refresh the page, you may notice that properties related to the now-templated view are no longer listed in the Visual Studio 2005 Properties pane.  This is by design and it is assumed that you will be setting properties on the controls themselves.

If you want to discard your templated changes, just bring up the tasks menu and click the Reset option as illustrated below. Caution: Reset will immediately discard any changes you have made to your custom view template. Of course, nothing is permanent until you save the file.

membership manager