Geeks With Blogs
Jonas Bush May 2006 Entries
Less than useful helpfiles, part 1
In the helps for HtmlInputControl.Name (for .NET 2.0): Gets or sets the unique identifier name for the HtmlInputControl control. Later on, in that same help file: In this implementation, the get accessor returns the value of the Control.UniqueID property. However, the set accessor does not assign a value to this property. So then why say that it sets the property, if it doesn't actually set the property ......

Posted On Tuesday, May 9, 2006 1:37 PM

Repeaters, Checkboxes and UpdatePanels, Oh My!
I was working on some sample stuff that I'll be posting later and ran into a problem. I had 2 different update panels; inside one was just a div, inside the other one was a repeater. Inside the repeater I had a bunch of checkboxes, and when I checked/unchecked them, I needed the first update panel to be updated. This posed a couple of problems: A checkbox doesn't have a CommandName property, and can't be used to trigger a Repeater's ItemCommand event This I got around by declaring the event handler ......

Posted On Monday, May 8, 2006 2:08 PM

Retrieivng data from XML inside SQL
Recently I had to retrieve some data from SQL that was tucked away inside XML. We have a “Settings” class inside our application that is a bunch of public properties, which we then serialize to XML to store inside the DB. This lets us easily add/remove fields to store without having to modify the database. This can be a problem if you need to access those one of those field values from within SQL, but SQL 2005 provides some methods to do this (note that your data column must be the xml ......

Posted On Wednesday, May 3, 2006 1:07 PM

Copyright © Jonas Bush | Powered by: