Quick Silverlight tip: If you are unable to debug your own control
If you are unable to debug your own control. If nothing happens when you are using in your code the custom control created. If you do not know what’s bad you’re doing, and there is no error appears. Know, you should put user controls in other assembly and then reference to the assembly of controls in your project and in xaml code. Like this
<UserControl x:Class="MySilverlightProject.Page"
xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:c="clr-namespace:MySilverlightClassLibrary;assembly=MySilverlightClassLibrary"
In this case your controls will work.
You may also be interested with:
March 10th, 2008 · Comments (0)
No comments yet
Leave a Reply
Discover other tags
.NET 3.5
Accessibility
blogging general
blogging tools
C#
CodeProject
demos
DEV
DevAcademy2
DirectX
download
events
fun
Hardware
help
Interop
jobs
LINQ
Microsoft
Mobile
My tools
Performance
promo
Silverlight
soft
source
teched
TechedIsrael2008
thoughts
Tips and Tricks
tutorial
Vista
Vista Battery Saver
Visual Studio
VSTS
WCF
Web
Windows Gadgets
Windows Live
Work process
WPF
WPF/E
WPF crossbow
XNA
XPS
My tools
- .NET Framework Detector
- Duplicate images finder
- Exchange Security Policy for Windows Mobile Devices Fix
- Gas Price Windows Vista SideBar gadget
- Israel Traffic Information Windows Vista SideBar gadget
- Localization fix for SAP ES Explorer for Visual Studio
- LocTester
- RTL and LTR in Windows Live Writer
- Silverlight controls library
- Snipping tool integration plugin for WLW
- USB FM receiver library
- Vista Battery Saver
- WebCam control for WPF
- Windows Live SkyDrive attachment for Windows Live Writer
- Wireless Migrator
- WPF Virtual Keyboard



