StrataFrame Forum

ListView Problems

http://forum.strataframe.net/Topic25565.aspx

By Terry Bottorff - 1/17/2010

This is the Error I get when I try to run:

ApplicationException
  An error occurred while creating the main form
TargetInvocationException
  Exception has been thrown by the target of an invocation.
TypeLoadException
  Could not load type 'ListItemLinkClickedHandler' from assembly 'MicroFour StrataFrame UI Expanded, Version=1.7.0.0, Culture=neutral, PublicKeyToken=99fe9917f71608a7'.

Source     : MicroFour StrataFrame UI

Stack Trace:
   at StrataListViewBasics.Form1.InitializeComponent()
   at StrataListViewBasics.Form1..ctor() in c:\Temp\StrataListViewBasics\StrataListViewBasics\Form1.cs:line 23
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at MicroFour.StrataFrame.Application.StrataFrameApplication.RunApplication()

I can tell you the microfour.strataframe.ui.expanded is loaded as a reference. I am using 1.7.0.2 . I am not sure if there is a better example out there. This is C# and I use VB but I think I could wonder my way thru it if I could see it run. I'm not sure what to do. This sample is called StrataListviewBasics. I have tried to build it and I get:

Error 1 The type or namespace name 'ListItemLinkClickedEventArgs' does not exist in the namespace 'MicroFour.StrataFrame.UI.Windows.Forms.EventArgs' (are you missing an assembly reference?) C:\VSProjectsSamples\StrataListview\StrataListViewBasics\Form1.cs 107 99 StrataListViewBasics

TIA.....

By Russell Scott Brown - 1/17/2010

I believe you need build 1.7.0.4

Here is Trent's note about this:

Requirements: You must be on version 1.7.0.4 or greater to take advantage of this sample.
Note: If you do not have this version (and I know it isn't in the downloads yet [10/23/2009]), but a 1.7.0.5 build will be posted next week. If you need this now, send me a PM and I will give you a link to download the 1.7.0.4 build from a custom location.

By Terry Bottorff - 1/17/2010

OK Thanks.....
By Trent L. Taylor - 1/18/2010

That is correct. If you would like I can send you a link to download this build. It would not have any documentation updates. However, we have people finalizing the documentation as we speak so we plan on posting this build officially very soon. Let me know if you want it early. Wink
By Terry Bottorff - 1/18/2010

I would love it. Thanks. That will give me a jump start on the sample to see if I can wade my way thru it...... Thanks so much..........
By Teddy Jensen - 1/18/2010

Hi Trent,

Can I also have the link to this download?

TIA.

/Teddy