Populate TreeView From Custom Object Using Serializer

From time to time I need to spit out the public properties of an object for various reasons.  A typical use would be to show user friendly results from a web service that returns a complex object.  There could be tons of other uses!  After doing this a few times, I finially decided to post [...]

, ,

2 Comments

Ceton InfiniTV 4 CableCARD Installation on Verizon FiOS

The tech made it out this afternoon and completed the install in about 30 minutes. He could have left earlier since the InfiniTV Diagnostic Tool showed green check boxes on everything, but he stayed while I configured Windows Media Center tuner just to see it in action. It was his first Ceton install although he [...]

, , , , ,

3 Comments

Automatically Add RequiredFieldValidator to TextBox Controls

If you are like me, you hate having to create the required field validators for a bunch of TextBox controls.  Even more if you are adding Ajax ValidatorCallout controls to all of them.  Sure, you could create another server control to extent the Textbox to automatically include this…but here is a simple alternative. I created [...]

,

2 Comments

T-Mobile G2 Review

I recently upgraded to the T-Mobile G2 coming from the HTC myTouch.  Is has almost been a week of using the device and so far I am impressed! Added voice functionality This is courtesy of the latest version of Android (Froyo).  It is very useful to say things like “Call Papa-Johns” and have it call the [...]

,

No Comments

ListSearchExtender not finding some numeric values

I was working on a project when I noticed something strange with my ListSearchExtender.  This was happening on 2 different controls.  One ListSearchExtender was extending a ListBox and another was on a DropDown.  Both of these controls were populated with mostly numeric values (ID numbers) sorted in order ascending order.  The DropDown box was populated [...]

, , ,

1 Comment

IE: scrollTop Not Working As Expected

I banged my head on this one for a couple of days.  Still got a defect out of the deal, but finally got it working.  I had an ajax tabcontainer with several tabs.  In some of these tabs was GridView.  I had overflow set on a DIV that the GridView was placed in so that [...]

, , ,

No Comments

.NET Serialization: Binary, SOAP, and XML (VB)

In .NET when you need to shrink an object into a more portable format you have 3 choices.  Binary, SOAP, or XML.  The process of shrinking and expanding the object is called serialization and deserialization.  Each option has it’s own advantages which I will explain. Binary You can serialize an object into binary format quite [...]

, , , , ,

No Comments

JobTime: Time Clock Web Application And Job Cost Tracking

Background The company needed to track time logged to particular jobs/projects.  The initial idea was to use a site like ClickTime.  However, for an employee to log time against a job, you would need to tell ClickTime all of your jobs (which would be tedious) or configure an integration app to automatically populate the available [...]

, , , ,

No Comments

Cross-thread operation not valid: .NET Cross Threading To Update Form Control

So you get the “Cross-thread operation not valid” error because you are trying to update an object on your form from a thread. I am not going to try to “glamor” you (True Blood reference) with fundamentals of delegates, threading, etc. If that is what you are looking for, search Google and you will find [...]

, ,

No Comments

Automatic Email Alerts From Any SQL Query

Problem Reminder emails were needed to be sent out to remind sales staff to follow up on projects. Solution I developed a simple command line executable that takes 1 parameter which is an XML file.  The contents of the XML file would look something like: <?xml version=”1.0″ encoding=”utf-8″ ?> <Settings> <ErrorEmail> <Email>email@gmail.com</Email> </ErrorEmail> <SummaryEmail> <Email>email@gmail.com</Email> [...]

,

No Comments