views:

22

answers:

1
System.Reflection.Assembly assembly = System.Reflection.Assembly.LoadFile(@"CustomControls.Nav.dll");
 //Namespace and assembly name are CustomControls.Nav , the class name for the control is WebBar
Type type = assembly.GetType("CustomControls.Nav.WebBar");

I am getting type as null.What am I doing wrong here?

A: 

What does Object Browser display when you look at this Assembly? Is it showing CustomControls.Nav.WebBar?

Bryan