I'm trying to implement binary behaviour by using the C# language. I found a great article with a lot of workarounds, So I've implemented my program's behaviour exactly like it was described in the article. But when I run the program, I find that some code isn't executed:
<object id="mybehav" classid="http://localhost:81/mycontrol
/MyControl.dll#MyControl.MyBehaviourFactory"></object>
<style>
mytag
{
behavior: url(#mybehav);
}
</style>
<mytag id="tag1"></mytag>
Even IElementBehaviorFactory.FindBehavior
isn't called. Why could this be the case?