AJAX and radio button's non postback issue - fixed!

By: Dennis Rongo | October 29, 2008

Here's a scenario. In this particular case, I'm using a radio button instead of radio button list. However, this fix might also apply to latter since both controls are very much alike. In my case, I have the radio button pre-populated with data from a datasource, for this example, let's say rdo1 is selected. The idea here is to show the textbox depending on what radio button is selected. AJAX was used to enable partial postbacks within each selection of radio button items. Read More...

Uninstallation script for YetAnotherForum schema in SQL

By: Dennis Rongo | October 27, 2008

I installed YetAnotherForum on one of the site that I'm working on but ran into a few issues while doing an upgrade. I decided that I will start from a clean slate since this is a new installation, so I wasn't worry about data loss or anything of that nature. A lot of users has also demanded for such a function but the YAF hasn't released any yet to drop the tables and clean up the database scheme of any YAF installation. I compile and wrote a script tonight that will delete the YAF database schema so in any case that anybody would like to remove or start from the beginning with a clean DB. Read More...

Configuring the SQL Membership Provider

By: Dennis Rongo | October 26, 2008

I'm trying to work on a site that will have a full integration with forums and I've come to a point where I have to decide on whether I should do the old fashion way of registering users or using the built-in ASP.NET membership provider. A lot of people have suggested the membership provider path and I have decided that this is the way to go in this scenario. I've configured a project once before to use this feature but it has been some time and I needed a refresher course on how to get started again. If you're not familiar with it, it is just basically a simple way of adding/registering users into your website seamlessly since ASP.NET create all the tables and relationships and stored procedures in your existing database. The main obstacle is to expand the default fields to suit your site needs in terms of what are required during the sign-up process.

By running aspnet_regsql.exe in your Visual Studio command line (without the parameters) will bring up a familiar wizard where you'll input the necessary database information. After that, the script pretty much takes off and generates the tables, relationships, constraints and the necessary stored procedures in your chosen database (local or remote). The next thing is to set your web.config to authenticate form instead of the default windows credentials. More of that configuring the database is here. The next step is to configure your web application to use the database and connect to it. More of that can be read here.

And lastly, although as not as straight-forward, this article goes beyond the membership profile providers and gives an insight of customizing the profile providers.
Here are some important links for customization: