If you are trying to search inside of a resource dictionary, you should be using the function FindName(string), not GetTemplateChild(string).
Even if you are searching for a child control within the template of the current control, you should use Template.FindName(string, FrameworkElement templatedParent) not GetTemplateChild(string).
If this doesn't help, please expand you description.
If you have a code behind file, usually you can add the handler right in the XAML and have it attach to the code behind (even if the control is in a dictionary you can often do this).
I hope this helps.
Josh G
2009-03-09 15:02:40