microsoft
-
Common WPF Resource Dictionaries
Skinning a WPF application is as simple as adding an assembly reference (PresentationFramework.Aero) and xml config change. See below. Other sources: References StackOverflow, http://stackoverflow.com/questions/2075720/windows-7-theme-for-wpf 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
-
Quick Silverlight References
Most of the links below are relatively introductory, but they do serve as a quick refresher if it has been awhile since you have worked with Silverlight. Though not all of the links are specific to SL4, I would recommend… Continue reading
-
Import OData / XML / RSS / Webservice Feeds into Excel
If you came here looking for some quick and easy code that you can plug right in and dump data in excel format.. You have come to the wrong spot. 🙂 Depending on the scenario you may need this functionality… Continue reading
-
.Net Thread Safety
Any future posts regarding thread safe calls will go here. C#: (field) C#: (singleton) Continue reading
-
Quick .Net Encryption Reference
The code below represents a very basic .NET encryption class which has been tested and should work in your application – simply plug and play. 🙂 Contains two static methods that can be called without needing to instantiate the class.… Continue reading
-
Get Current URL in Javascript
JS (JQuery): JS (standard): Continue reading
-
JQuery and Partial Postbacks
I recently came across an issue where JQuery bindings no longer functioned after a partial postback and stumbled upon some code that was helpful in most cases. Javascript (JQuery): And alternatively.. This code will not always work however, as was… Continue reading
-
Lambda Functions in .Net
Lambda expressions in .Net are denoted by the ‘=>’ symbol. These powerful operators can be used to create sleek, optimized loops that perform much faster. The usage below condenses the equivalent of at least 20 lines of two loops. (Sorry… Continue reading
-
The Truth About Microsoft
I must admit, I haven’t been the largest fan of Microsoft products and policies. (With the exclusion of Visual Studio and the .NET and XNA platforms.. and Silverlight and Excel…) However, it’s very easy to jump on the “anti-MS bandwagon”… Continue reading