Exception creating a control
-
Hello, I am using one third party control. When I am going to place that control on my form it is showing following error. An exception occurred while trying to creating an instance of "XPMenus.Menus.MenuControl". The Exception was "the type of intializer for "XPMenus.Menus.MenuControl" threw an exception. chito.
-
Hello, I am using one third party control. When I am going to place that control on my form it is showing following error. An exception occurred while trying to creating an instance of "XPMenus.Menus.MenuControl". The Exception was "the type of intializer for "XPMenus.Menus.MenuControl" threw an exception. chito.
chito wrote: the type of intializer for "XPMenus.Menus.MenuControl" This basically means that there was an exception thrown in the
static
constructor of theXPMenus.Menus.MenuControl
class. A static constructor is generally used to initialize some global/static data for the class because it is called before the first time the class is used (if I remember correctly). James "It is self repeating, of unknown pattern" Data - Star Trek: The Next Generation