Thursday, October 12, 2006

Lawn Bowling Season

Here in Pittsburgh, the lawn bowling season is from the beginning of May until mid September. By closing down in mid September, it gives us a month to reseed and restore the lawn before the city turns off the water in the park in mid October. The club is responsible for the upkeep of the lawn and the interior of our club house (a WPA built structure.) The city rents us the facility for a nominal fee, but expects the club to pay for the upkeep.

Until the season starts again, the club will have a couple of group dinners at local restaurants. This month we have an awards dinner. In January, the club will have a business meeting. In April, we will have a Get-Going dinner to start planning the upcoming season of leagues and tournaments.

Last winter, we tried indoor carpet bowling at a local high school. Even using carpet bowls, the experience was not that much fun and it only lasted a few weeks. A few members do curling (lawn bowling on ice) at an ice arena. Other do regular bowling. I just wait until the season starts again.

Wednesday, October 11, 2006

Gridview and Refresh

I ran into an interesting problem. I set up a normal editable gridview using the footer to enter an inserted record. It worked fine under normal conditions. A user did a browser refresh after the insert and another record was created. It makes sense since the refresh just causes another insert event to occur.

The solution I created was to use a Session variable to detect if the last event was an insert and in the insert event handler, just reset the gridview data source to a the table created by the object data source control's select method and rebind the gridview if the Session variable detected a refresh.