c#
-
C# Event Handlers and Delegates in ASP .Net with Web User Controls
This article should help as a general how to on event handlers and delegates in C# as well as propose a different way to handle cross page methods in your ASP .Net website from a web user control or other… Continue reading
-
call parent page from user control to invoke page methods
To illustrate how we will accomplish this using Reflections, we will be using repeater in a user control within a page. Your repeater loads data easily within the user control code behind, but you want to utilize the “ItemCommand” event… Continue reading
-
C# .Net Clone and Copy Objects using Extension Methods
One of my earliest blog articles – Clone Objects in .Net Using Reflections – briefly discusses shallow and deep object copying and cloning. For more info. on the semantics and what these terms really mean, see referenced wikipedia article. You… Continue reading
-
C# Create a Windows Installer Class Custom Action bootstrap DLL in .Net
The standard windows installer project included with Visual Studio right out of the box is great in many deployment scenarios. For more advanced needs, organizations and developers usually defer to 3rd party solutions, such as InstallShield, Wise, wix or NSIS… Continue reading
-
C# Nested Repeaters ASP .Net
Nested repeaters are a very common topic in ASP .Net so I thought it would be a good subject to write on, especially considering the number of solutions that exist when you Google “nested repeaters” that offer plug-and-play answers, but… Continue reading
-
View PDF in Objective-C Cocoa on Mac OS X using PDFKit
The code below has been tested and works clean on the latest version of Mac OS X 10.5 Leopard. Since it applies to native Mac OS X, and not iOS, porting this to work on iPhone/iPad is a bit different,… Continue reading
-
C++ concatenate strings with stream or sprint
There are many different ways to achieve this, but in my opinion the best method for something this commonly used is a solution that does not require additional external dependencies.. However, see reference at the bottom of this post for… Continue reading