Browse by Tags

All Tags » ASP.NET (RSS)

Using two ASP.NET membership providers

Recently I wanted to give someone access to one of my teaching web sites. They were not a student or faculty member so they didn't have an account in our active directory. I am not a system administrator so I wasn't able to add them to the active...
Posted by gcastner | with no comments

Basic error handling for ASP.NET web sites

To avoid displaying the complicated error messages displayed by the .NET framework, you can direct users to a more user-friendly page by inserting the following tags into your web.config file: <customErrors mode="RemoteOnly" defaultRedirect...
Posted by gcastner | with no comments
Filed under: ,

Formatting columns in a GridView

Formatting columns in a GridView is relatively straightforward, once you know the appropriate format string. Here are the steps if you are using Expression Web, Visual Studio, or Visual Web Developer: Open the Task Pane of your GridView and select Edit...
Posted by gcastner | with no comments

Inserting a PayPal Buy Now Button into an ASP.NET Form

When working with ASP.NET pages, one difficulty that often arises is that you need two forms on the page - the normal form required by ASP.NET and a second form for something else such as a PayPal button or a search tool. The solution that I discovered...
Posted by gcastner | with no comments
Filed under: ,

Using the ASP.NET calendar control to display event information

The calendar control is useful for displaying event dates that users can then click on for more information. Here are the steps for setting up the calendar control to display event information from database. 1. Place a calendar control on the required...
Posted by gcastner | with no comments
More Posts Next page »