Tuesday, June 28, 2005

Team System - Why not?

I have been reading quite a bit on Team System lately, from a preview book I got from a raffle at our local .NET user group meeting. I find it really amazing and I would be the happiest soul if it is used the way it is being dreamt of being used! It's been close to 10 years for me in this industry and I have seen the ups and downs. For the most part, I have been really disturbed by the poor coordination with in the team itself. Not only among team members, but there is a communication embargo from the manager to the developer. Only the management has the vision. And it depends upon their level of involvement which would really mark the success of a team and the goal itself. Delegation is good. But delegating and then forgetting is REALLY BAD!

Tools like Team System would be a failure if there isn't the right thinking in the team.

Monday, June 06, 2005

A Click of a Nightmare

One of my colleagues came to me with a problem: He wanted to make the click event of button in his form to be activated when anyone pressed ENTER key. I said it works by default and it needs no tweaking. To my surprise, he showed me that it is not.

Then I went back to the form that I had developed and showed him that I did no extra coding to make it work. The click event just got raised when I hit the ENTER key. He was surprised too.

It would have been easy to implement his requirement with some JavaScript programming, but I wanted to find out the reason behind this contradictory behavior. The only difference between my form and his was that mine had more than one input controls (such as textbox and dropdownlists) and his had only one textbox. Well, after going through a lot of sane thoughts, I did one last insane activity: I added one more textbox control to his form. And it all worked: the click event got raised at the hit of the ENTER key.

I have no clue why this is happening. Do you have any?