Row not found or changed & LINQ

July 12, 2010
Tags: , ,

This is a particularly well-known error (see here, here, and here), but this is the second time that I’ve had to do a search on this error so I thought that I’d post it here so that I can find it more quickly. Anyway, when this error occurs, make sure that the NULL types in [...]

1

SaveFileDialog Error When Debugging Silverlight Applications

June 9, 2010
Tags: , ,

If you’re having difficulties debugging a section of code that uses the SafeFileDialog.ShowDialog() method, the reason is that Silverlight requires that the ShowDialog() method be called from a user-generated action. For whatever reason, entering into debug mode makes Silverlight think that you are not responding to a user-action, even when you are. To work around [...]

0

Change Default Layout when Using Zend Framework

June 3, 2010
Tags: , ,

Quick Tip: If you want to change the default layout script in your Zend Framework MVC application, you can do one of the following: // Within controller $this->_helper_layout->setLayout(‘other-layout’) //other-layout.phtml //Within view script layout()->setLayout(‘other-layout’); ?> Thanks to Andrew at the StackOverflow forums. –Adam

0

Extending a UserControl in Silverlight

May 31, 2010
Tags: , ,

In a current project that I’m working on, I needed to extend a UserControl to add some additional specialized functionality. This is very easy to do if all you need is to extend code, but it becomes much more difficult if you want to extend it via a XAML/C# UserControl. After much web searching, I [...]

0

Setting Document Root to Point to a Network Share With Windows/Apache

May 30, 2010
Tags: , ,

Quick tip: If you’re wanting to have your Apache document root point to a network share in Windows, here’s what you have to do: Change your DocumentRoot to the network share (drive remapping doesn’t seem to work).  Example: DocumentRoot “//path/to/share” Make sure to update the DocumentRoot path in your <Directory> config Edit the Apache service [...]

0