CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.internet_explorer_web_controls Tags:
Item Type: NewsGroup Date Entered: 8/20/2003 5:37:01 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 23 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
Eldadf
Asp.Net User
TreeView WebPart8/20/2003 5:37:01 AM

0/0

HI!
I'm using SP V2 and would like to creat a TreeView WebPart.
I've already created a TreeView in a .NET application, so I know how to handle it.
The thing is, the minute I try and use a class from a Namespace other than System{} in the webpart project, the project rejects any code lines associated with that Namespace.
Even when i try putting the code in a "try - catch" it fails to deliver and exception, and exits immidiatly.

help?

Eldad.
Bill2clone
Asp.Net User
Re: TreeView WebPart8/20/2003 6:49:32 AM

0/0

Eldad,

Which treeview have you been using?
Can you post a code snippet?
DNN skins Forum
Tressleworks modules
DNN & webhosting
IEWCtrls
Eldadf
Asp.Net User
Re: TreeView WebPart8/20/2003 8:09:23 AM

0/0

I've been using Microsoft.Web.IU.WebControls from this web site.
sample code:

(This is the .NET application that works)

namespace Carmel.V2.WebParts
{
[XmlRoot(Namespace="Carmel.V2.WebParts")]

public class TreeView : WebPart
{
protected Microsoft.Web.UI.WebControls.TreeView Treeview1;

// The following line makes the project crash
Treeview1 = new Microsoft.Web.UI.WebControls.TreeView();
Controls.Add(Treeview1);
}

protected override void RenderWebPart(HtmlTextWriter output)
{
RenderChildren(output);
}
}
}
Eldadf
Asp.Net User
Re: TreeView WebPart8/21/2003 5:28:34 AM

0/0

Sorry, its:

namespace Carmel.V2.WebParts
{
[XmlRoot(Namespace="Carmel.V2.WebParts")]

public class TreeView : WebPart
{
protected Microsoft.Web.UI.WebControls.TreeView Treeview1;

// Override the ASP.NET Web.UI.Controls.CreateChildControls
// method to create the objects for the Web Part's controls.
protected override void CreateChildControls ()
{
// The following line makes the project crash
Treeview1 = new Microsoft.Web.UI.WebControls.TreeView();
Controls.Add(Treeview1);
}

protected override void RenderWebPart(HtmlTextWriter output)
{
RenderChildren(output);
}
}
}
Bill2clone
Asp.Net User
Re: TreeView WebPart8/21/2003 12:43:30 PM

0/0

Sorry.
vb.net user
never worked with WebPart components

You should look for WebPart settings in MSDN knowledge base.
DNN skins Forum
Tressleworks modules
DNN & webhosting
IEWCtrls
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Creating Client Extranets with Sharepoint 2003 Authors: Mark E. Gerow, Pages: 216, Published: 2006
Advanced SharePoint Services Solutions: Advanced Sharepoint Services Solutions Authors: Scot P. Hillier, Pages: 365, Published: 2005
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Microsoft Visual C# 2005 Unleashed Authors: Kevin Hoffman, Pages: 692, Published: 2006
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Essential SharePoint: Microsoft Office Document Collaboration in Action Authors: Jeff Webb, Pages: 310, Published: 2005
Essential ASP.Net 2.0 Authors: Fritz Onion, Keith Brown, Pages: 345, Published: 2006
Beginning ASP.NET 2.0 Databases: From Novice to Professional Authors: Damien Foggon, Pages: 625, Published: 2006
Microsoft Office SharePoint Server 2007: The Complete Reference Authors: David Matthew Sterling, David Sterling, Pages: 788, Published: 2007
Pro Sharepoint 2007 Development Techniques Authors: Margriet Bruggeman, Nikander Bruggeman, Pages: 484, Published: 2007

Web:
TreeView Navigation Webpart for SharePoint - Jan Tielens' Bloggings My friend, nephew and colleague Tom van de Kerkhof has created a TreeView Navigation Webpart, based on the SmartPart Webpart. Check out his post here. ...
SharePoint Web Parts - Tree View The Tree View Web Part provides users with the familiar Windows Desktop Explorer ... Tree View Web Part vs. SharePoint Out-of-the-Box Functionality ...
SharePoint TreeView Webpart - Home May 8, 2008 ... This web part is the basic tree view that you can see on the Quick Launch menu. I created this web part because I needed to have only a Tree ...
My Webparts Collection This Webpart for WSS 3.0 or MOSS 2007 add a treeview to the original document ... screenshot of the Document Library Treeview webpart. [ Back to top ] ...
Sharepoint general MOSS 2007: TreeView Web Part Hello, I am looking for a treeview web part that displays site structures. We are looking to have a corporate site and a couple of subsites, ...
Alcero :: Web Parts :: SharePoint Tree View Web Part The Tree View Web Part provides users with the familiar Windows Desktop Explorer navigation, allowing them to manuever through any SharePoint list, ...
Inside Microsoft: Creating a TreeView Web Part for SharePoint 2003 ... In this article, you’ve learned how to create a document library TreeView web part, complete with custom properties. This web part will provide your ...
Treeview webpart error - ASP.NET Forums Treeview webpart error. Last post 11-14-2006 5:01 AM by baburaj_80. 1 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
Mark Bower : Document Library TreeView WebPart [via Patrick Tisseghem] Dec 16, 2004 ... This looks like a valuable addition to the SharePoint developer's arsenal. I haven't tried it personally yet, but this is a web part I could ...
Rent A Coder - Create a Tree View web part for WSS 3.0 Nov 3, 2007 ... I want to have a tree view webpart that can handle unlimited amount of data and uses pure tree view object. I also use specific data.xml to ...

Videos:
Extended Sharepoint Document Library TreeView Webpart Here's a quick preview of my new webpart for document library. Main idea is to provide a nice/ergonomic/useful interface for browsing your document l...




Search This Site:










visual studio 2005 uses excess memmory

does the profile support caching?

new free module: smart-thinker referrals

uploaded file virus check

what asp.net version is needed to run the club starter kit

dotnetnuke.services.exceptions.moduleloadexception: external component has thrown an exception...

scheduler not working dnn 2.1.2

mixed vb with c#

file manager - rename / synch v3.0.13

loading speed of asp.net pages v. plain html

how to get module id by tab id

form within form - main runat=server form is on master page...

personalization data not upgraded (2.1.2 -> 3.0.13)

a question on dnn plug-in module architecture/model?

thought about server controls

membership problems

file manager access to non admins

is there a best way to store xml to database (sql 2005 express edition)?

my imagebutton doesnt work on internet explorer

cross page post to pop up window

can we change imageurl in rowcommand

cannot create or open asp.net projects

posting form data to non-aspx page

basic question

creating dynamic xml file from an aspx page (google sitemaps)

access denied

build custom security database or use authentication web interface

help in user log in

using ie 5.1 on os 9

open source .net forums?

 
All Times Are GMT