Cross browser copy and paste - with JQuery.Copy

Some thoughts scribbled down on Wednesday 17 December 2008 at 07:21 PM

Thank god for JQuery and addons The Scenario I was working on a client project for SSW when the client reported a bug in the web app. The bug involved a dynamically generated mailto link that got updated when you selected multiple employees. The client was reporting an error when he selected more than 10 employees to email. His Lotus Notes mail client popped up an error saying: Error processing command...

Read more...

ASP.NET Dynamic Data - GUIDs

Some thoughts scribbled down on Thursday 11 December 2008 at 07:47 AM

Dynamic Data by default doesn't play well with GUID primary keys, or more correctly LINQ to SQL doesn't auto generate the GUIDs for you by default. You will get validation errors when you try to insert Note: the Entity Framework also suffers from this problem You have two options here: Option 1 - Set the Auto Generate Property to True In the DBML Designer , select the GUID primary key and select Properties...

Read more...

Enable your incompatible extensions in Firefox 3.1 betas

Some thoughts scribbled down on Thursday 11 December 2008 at 07:00 AM

Just updated recently to the new FF3.1b2 but a lot of my extensions were not compatible. You can get around this - at your own risk - by installing the Nightly Tester Tools extension This give you a right click menu to override the compatibility warnings and run the extensions anyway....

Read more...

Dynamic Data - Enable Inline Editing

Some thoughts scribbled down on Thursday 11 December 2008 at 06:20 AM

I had a question from last night's user group after the presentation regarding supporting inline editing. You can roll your own solution by creating your own page template with support for inline editing or you can change the routing and use the one built in with Dynamic Data. To do this, in the Global.asax file, just comment out the default route and uncomment the second one that routes everything...

Read more...

Reserved.ReportViewerWebControl.axd not found

Some thoughts scribbled down on Monday 08 December 2008 at 04:16 AM

Ran into this issue the other day at work. We were developing some reporting services reports for a client and viewing them through a report viewer control in the intranet site we were developing. The reports ran fine in the development environment but as soon as it was published to testing the reports behaved strangely. The test box was a Windows 2008 Server Standard Edition with IIS installed and...

Read more...

Microsoft Devsta Challenge

Some thoughts scribbled down on Monday 29 September 2008 at 08:12 AM

Just a quick one. Microsoft's Devsta Challenge officially starts today. There are some great prizes including Xboxes, MSDN subscriptions and MIX09 tickets. All you need to do is go to http://devsta.microsoft.com.au and sign up with your Windows Live ID. So get coding, you have 200 hours to complete the task!...

Read more...

Presentation - Sydney .NET User Group - LINQ to SQL and WCF

Some thoughts scribbled down on Wednesday 20 August 2008 at 11:19 PM

Today I presented at the Sydney .NET User Group . The topic was using LINQ to SQL with WCF in a three tiered architecture. It was quite a good turn out and I had lots of good audience feedback during the session. Thank you to all those who attended the session. I hope you all found it useful. Resources Slide deck Solution File Northwind sample database...

Read more...

Weekly Training - JQuery, simplify scripting in javascript

Some thoughts scribbled down on Tuesday 19 August 2008 at 01:10 PM

This weeks lunchtime training at SSW was about working with javascript and specifically using the JQuery framework. John Liu presented this and I chimed in with a bit towards the end. It is definately a very good framework to work with. JQuery Training Video from Eric Phan on Vimeo . Resources Screencast HQ [422MB] Slide Deck Solution File Firebug (for Firefox ) GreaseMonkey...

Read more...

Presentation - Canberra User Group - LINQ to SQL and WCF

Some thoughts scribbled down on Tuesday 19 August 2008 at 07:41 AM

Yesterday I presented in an unusually cold Canberra . The topic was using LINQ to SQL with WCF in a three tiered architecture. There was a lunchtime session at King O'Malley's Irish Pub followed by an evening session at Microsoft Canberra. A big thank you to Adam Cogan and Justin King for accompanying me to Canberra and proving useful feedback. Also a big thank you to those who attended the seesions...

Read more...

Silverlight Slide Show

Some thoughts scribbled down on Tuesday 05 August 2008 at 03:51 PM

Justin King pointed me to a Silverlight slide show control a while back and I decided to give it a whirl and implement it own my own site's photos section. The control is called Slide.Show and is made by the guys at Vertigo . The configuration and setup itself was not too difficult, as long as you follow the Quick Start Guide . I pointed the control to my Flickr account by adding a data section in...

Read more...