c# - Cannot create instance of 'ProductListingUserControl' defined in assembly ProductListing -


hi getting following error:

cannot create instance of 'productlistingusercontrol' defined in assembly 'productlisting, version=1.0.0.0, culture=neutral, publickeytoken=null'. exception has been thrown target of invocation. error @ object 'system.windows.controls.grid' in markup file 'productlisting;component/views/productlistingcshostedcontrol.xaml' line 22 position 10.

i have user control using in class.in class have defined event productselectionchangedevent giving me above error whenever creating instance of user control.

i creating following event user control:

window w = window.getwindow(productservicefunction); w.locationchanged += new eventhandler(productlistingusercontrol_locationchanged); this.sizechanged += new sizechangedeventhandler(productlistingusercontrol_sizechanged); 


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -