Browse by Tags

All Tags » C# (RSS)

Programmatic Drawing with Silverlight 2.0/3.0 – An Analogue Clock by REA_ANDREW

Download the source project Image Working in Silverlight     I have seen a lot of comparisons made between ActionScript and Silverlight with specific focus on the difference in lines of code, and more specifically when referring to the drawing...
Filed under: , ,

Programmatic WebControls – Variations of design by REA_ANDREW

I thought I would compose a short how to on programmatic web controls.  Often I have looked at the core set of controls within ASP.NET and wonder what design is required in order to get the design time mark up similar to that of the various controls...

Idea for a Helper Utility Class Generator for a WCF Rest Service by REA_ANDREW

This morning I followed an Adobe Flex tutorial, well 3, about consuming Twitters restful API inside Flex.  After this it got me thinking about WCF and their Rest Starter Kit.  I looked and they are now up to Preview 2, so I downloaded it and...
Filed under: , ,

Comparing Byte Arrays in C# and more specifically using the .NET 3.5 Framework by REA_ANDREW

I was looking for a simple way of comparing two byte arrays and it is not as 123 as you may think as methods which you may assume would return true, DO NOT.  I found a solution that does exactly what I need and is part of the framework, and I found...
Filed under:

CascadingDropDownExtender setting SelectedValue by REA_ANDREW

I had a situation recently where: I needed a cascading drop down interface I needed it to execute on the client I needed to reload the parent and child items' selection. The Cascading DropDownList Extender is an excellent control as are its siblings inside...
Filed under:

NetBeans IDE Feature I would like to see inside Visual Studio by REA_ANDREW

I am currently inside the NetBeans IDE which is my IDE of choice at the moment for my Java development.  I thought I would mention a refactoring feature I would like to see inside Visual Studio "Out of the Box."  It is with regards...
Filed under:

Developing ASP.NET Custom Controls, Method Single Responsibility and an easier way to manage large data forms by REA_ANDREW

You can download the files here.   Until a few weeks ago I did not know about a feature called Control State.  I knew of course about ViewState but not Control State.  I would love to know everything about everything in this game i.e. computing...
Filed under:

A nice Java Static String function I can now port into C# using Extension Methods by REA_ANDREW

I have just been playing around making a small networking application using Java when i came across a small and dead simple function which I thought, "hey that is useful," and "oh that would now fit .NET Extension Methods."  So...
Filed under:

Catching the exception from the ObjectDataSource Inserted Event by REA_ANDREW

One thing I was puzzled over today was that I could see the Exception property of the ObjectDataSourceStatusEventArgs but I could not seem to cast it into the Exception I was expecting.  After a little mooching around, and debugging the actual type...

A Custom DropDownList using an Enum Type as a DataSource by REA_ANDREW

First off, I have to again express my admiration at the job Microsoft have done at building the core ASP.NET Web Form Controls. I think they are sometimes taken for granted. This post is about making a control which derives from the DropDownList and uses...
More Posts Next page »