Try adding namespace of the type in the string.
for example:
consider the following class:
namespace Custom{
public class MyClass{
.....
.....
}
}
and let stType is a string type variable which stores the class name and we need to get the actual type using that string variable name:
string stType = "Custom.MyClass";
Type calledType = Type.GetType(stType);
here stType contains fully qualified type (Custom.MyClass) rather than only the type name (MyClass).
Thanks,
Chinmaya