Re: Web Part w/ IE Treeview reference throwing error

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jeremy (jmaddreysp_at_cox.net)
Date: 07/08/04


Date: Thu, 8 Jul 2004 15:11:53 -0400

I'm loading the dll and writing out the error in trace information. The
line that is causing the problem is without a doubt when I instantiate the
treeview. Leaving that one line in vs. commenting it out makes the
difference. All code that executes after that line has been commented out.

"Gary A. Bushey" <bushey@mindspring.com.REMOVETOSEND> wrote in message
news:O7p8UuRZEHA.3368@TK2MSFTNGP12.phx.gbl...
> Are you actually stepping through the program or just loading it and
writing
> out the error somewhere? Sounds like the former. Can't say I have used
> the control but what I have done is to "borrow" the code that the SPS help
> file uses in my web parts.
>
> --
>
> Gary A. Bushey
> SPS MVP
> bushey@mindspring.com
>
> "Jeremy" <jmaddreysp@cox.net> wrote in message
> news:OJ%23hgFQZEHA.2576@TK2MSFTNGP10.phx.gbl...
> > I'm developing a navigational web part that uses the IE treeview
assembly.
> > Everything compiles fine. When I add the web part to a page, I receive
> "The
> > "xyz" Web Part appears to be causing a problem." I traced the error
down
> > to a line where I instantiate the treeview. If I comment out that line,
> no
> > error, however with the line, I receive the error. I have a try/catch
> block
> > around the line as well, however the error still doesn't seem to be
caught
> > since I'm receiving the sharepoint error page. I have both the custom
> > assembly as well as the treeview assembly registered as safe. Any
ideas?
> >
> >
>
>



Relevant Pages

  • Writing TreeView Contents To XML
    ... I am writing an RSS reader in C# and I'm trying to write the contents ... multiple folders and sub folders. ... Is XmlWriter the best way to write out a TreeView? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Writing TreeView Contents To XML
    ... > comes to dealing with complex tree structures such as those that have ... > multiple folders and sub folders. ... > Is XmlWriter the best way to write out a TreeView? ... > about going through each of the folders and writing the feeds within ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: XML document in a treevie needs 57secodns
    ... As I don't have the code (nor the required MSDN version, ... I will create all the node without attaching them to a TreeView. ... Using VisualStudio 2005 and C# ... Loading the XML DOM using about 40ms ... ...
    (microsoft.public.dotnet.framework)
  • windows forms and arguments
    ... i am writing a project that uses a treeview as its main application ... navigation for the many parts of the program. ... Simon Whale ...
    (microsoft.public.dotnet.framework)
  • Re: Node
    ... I am writing a function that creates a node and then adds subnodes to it and ... subnodes to the treeview. ... With your example the nodes are already in the treeview and that's what I ... >> MyNode ...
    (borland.public.delphi.language.objectpascal)