Geeks With Blogs

News Google

Nick Harrison Blog<Nick>.Next() November 2005 Entries
View State not Tracking on Dynamic Controls until after the second post back
For several days, I have struggled with a problem with the view state on dynamically loaded controls. I am using a fair number of dynamic controls on a little project that I have been working. Everything was working fine except in one section. In this one section, view state was not being tracked until after the first post back. Events were not responding until after the first post back. Everything seemed to be setup properly and it was working everywhere else. Very perplexing. Who ever heard of ......

Posted On Monday, November 28, 2005 7:14 PM

The joy of solving a problem

There is no greater joy, no finer ecstasy than solving a perplexing problem.    The more perplexing, the greater the euphoria. 

In many ways, I live for this rush.

Often the release that comes from the resolution of such problems makes up for the embarrassment when the root of the problem turns out to be a simple mistake.


Posted On Monday, November 28, 2005 7:05 PM

"Flattening" a "deep" table
Have you ever been struck with a table design that did not work well for what you now needed? Sure, we all have. One common scenario is to have a table where all of the data that you need is in multiple records, but you need it returned in a single record. A common solution is to join the table to itself multiple times. Depending on the size of the table, this might work. Sadly this approach does not scale well. A more scalable solution would be to use grouping logic to get all of the data in a single ......

Posted On Thursday, November 24, 2005 7:09 PM

Auto Theft Update
Earlier I posted about my car being stolen. Things have settled down a little. The police found my car. Someone on the other city of the city saw someone ditch my car and steal another one. That person called the police and they recovered the car. They recovered it two days before the insurance was going to settle. Once the car was recovered, it was in the body shop for 4 weeks. Whoever stole it did about $5,000 worth of damage. Additionally, insurance had to pay out $900 for a rental car. Nothing ......

Posted On Wednesday, November 23, 2005 7:32 PM

The balls software architects juggle
Recently I was asked what it is that a software architect does. This is a difficult question to answer. We do so much. For the outsider it can difficult to explain. I started thinking about it in terms of the balls that we juggle. Here is my initial list. I am sure that there are more: Performance Maintainability Security Reliability Scalability Look and Feel Flexibility Best Practices Time lines Politics (Office and Project) Software Version Upgrades Individual egos Scope Creep System Integrity ......

Posted On Wednesday, November 23, 2005 7:01 PM

Architecture Layers
I have been thinking recently about the various architecture / abstraction layers that would be useful in making up an Enterprise framework. The goals would be to improve consistency, decrease time to market, improve quality, and simplify the development and testing efforts in general. Pretty lofty goals, but important none the less. The layers that I have in mind include (in no particular order): Security Abstraction Layer Validation Abstraction Layer Conversion Abstraction Layer Data Access Abstraction ......

Posted On Wednesday, November 23, 2005 6:50 PM

Why use the CodeDom
I recently say a couple of articles on CodeProject that showcased wrappers to simplify using the CodeDom I am in favor of anything that encourages use of CodeDom and tries to flatten the learning curve for using the CodeDom. Unfortunately, most examples of using the CodeDom seem a little contrived. This makes using the CodeDom seem like over kill. Consider some of the following applications: Using the ......

Posted On Sunday, November 20, 2005 8:02 PM

Guidelines for Dynamically Loaded Controls
Through much trial and error and research on the web, I have come up with the guidelines for dealing with dynamically loaded controls. Load the controls in the same order on each post back Add new controls to the Controls array before setting any properties. Properties set before the control is added to the control array will not be tracked in View State. If an event handled after dynamic controls are added causes diferent controls to be loaded, the newly reloaded controls may need to be explicitely ......

Posted On Sunday, November 20, 2005 7:19 PM

Iterative Process for Web Page Design
Here are some guidelines that I have started following to structure pages and get the style sheets right. I have found it useful to have one style sheet for the web site that sets the color schemes, fonts, and page structure as well as any other UI constraints that would be common across all pages in the site. I then add a new style sheet for each page to handle positioning information specific to that page. This seems to keep the style sheets more manageable while still keeping the content separate ......

Posted On Sunday, November 20, 2005 7:01 PM

Great presentation on structuring stylesheets

I found this great presentation covering how to structure a style sheet.     steps through various details such as fluid layout, structuring containers, cross browser style sheet support, font scaling, and behaviour within form elements.

A great dal of very useful information very well structured and written.

Posted On Sunday, November 20, 2005 6:38 PM

Copyright © Nick Harrison | Powered by: