Browse by Tags
All Tags »
DataSets (
RSS)
As we wrap up this series, we demonstrate how to add a databound grid control to our default page. Although I wasn't prolific in my explanations, I hope being able to view the code helped you in some way. Download the ZIP file and Read the entire series...
As we continue our series, we'll look at programmatically loading a menu control. In this example, we define our menu in the code in front, but do not add any items. All items are added in our codebehind, based on the logged in user's role. Dim mi As...
To utilize our role provider and how to check roles, we have setup an Admin menu for our Admin user only. In this series we continue to look at a web project where we setup custom providers. Read the entire article here....
On our Change Password page, you'll notice how our change password control is wired up to use our custom membership provider: <asp:ChangePassword ID="ChangePassword1" runat="server" SkinID="SSSCPskin1" MembershipProvider="Shiningstar.SSSMembershipProvider...
When the user clicks to Log Out, we'll call our own custom functions to kill the cookies, possibly make database changes, and return them to the Log In page. The built-in Log Out functionality is overridden in this example so that we can have more control...
On our Registration page, we'll look at a few Regular Expressions. We'll use client side validation using the RequiredFieldValidator and also the RegularExpressionValidator. On server side, we'll again check our validations using our FormUtility class...
On our Log In Page, we use a custom Remember Me checkbox instead of the checkbox included with the log in control. This way we can remove our log in cookie ourselves and do any database changes needed to log the user out. Since we are using a Log In control...
When we log in to the site, we optionally set a Remember Me cookie. This cookie is checked each time the Master Page is loaded, so that if the user is not logged in, they are auto-logged into the web site. Below are our cookie handling classes: Our AppCookie...
Continuing our series, we look at our source code for our Master Page. In this section, we demonstrate how to set our UserName property as Bindable so that it can be used in controls. In our Master Page, we check if the user is logged in, and if not,...
We continue our series by displaying our source code for our Custom RoleProvider class. Read the entire article here...
More Posts
Next page »