ASP.net mess

I’m currently working on some basic Immo website, in ASP.net 4.0.
(Part of the Exams)
I have to admit, programming is not my cup of tea… but I’m getting frustrated over all those (minor) flaws in Vistual Studio 2010.

If you’re setting up a registration page using the CreateUserWizard form the Toolbox, you’ll find some lack of properties-fields in the GUI.
In my case, I had to assign a default role to each new registerd user.
Nowhere in the Gui there is such thing to be found… sure… changing colors etc… but some REAL functionality… forget it!
The way to go is like this:
Just add some chunk of code.

Protected Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e As System.EventArgs) Handles CreateUserWizard1.CreatedUser
            Roles.AddUserToRole(CreateUserWizard1.UserName, "Member")
End Sub

I’m some kind of disappointed.
If you create some Wizard, why not do a good job, and add all possible options to the GUI?
Should you find yourself having too many options… perhaps, get rid of the image and color options?
There is such a thing as CSS for that!

Grmbl….

2 thoughts on “ASP.net mess”

    1. It is quite handy if you don’t want to learn how to program 🙂
      You’ll get the feeling as if you’re building a webpage with Duplo.

Leave a Reply

Your email address will not be published. Required fields are marked *