CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 8/20/2007 10:15:53 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 24 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
OS538DAV
Asp.Net User
A TreeView in MasterPage that display folders8/20/2007 10:15:53 AM

0/0

Hi

I need to create a MasterPage that in its side section will be a tree that represents a folders hierarchy.Those folders contain pdf files and the user can navigate through this tree and when he clicks a file , the file will show in the ContentPlaceHolder.

I tried to do it with treeview control but it works just with links to web pages.

How can I do this job.

Thanks,

David

mgodoy_desenv
Asp.Net User
Re: A TreeView in MasterPage that display folders8/20/2007 12:28:10 PM

0/0

1. Create an interface that contains a property with the name of your filename.
2. Implement the interface in page that is the contentplaceholder.
3. Implement TreeView.SelectedNodeChanged and test for TreeView1.SelectedNode to get the file name.
4. Still on TreeView.SelectedNodeChanged, do a cast in Page property to an interface that you created and set filename property.
5. In page of contentplaceholder, implement the "set" acessor of filename property (the property that belongs to interface) to print the Response object as PDF file.

OS538DAV
Asp.Net User
Re: A TreeView in MasterPage that display folders8/21/2007 10:24:29 AM

0/0

Hi,

Thanks for your help. I'll try it later because I got another job to do now.

David

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
Programming ASP.NET: Building Web Applications and Services with ASP.NET 2.0 Authors: Jesse Liberty, Dan Hurwitz, Pages: 930, Published: 2005
Learning ASP.NET 3.5 Authors: Jesse Liberty, Dan Hurwitz, Brian MacDonald, Pages: 576, Published: 2008
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006
Expert C# 2005 Business Objects Authors: Rockford Lhotka, Pages: 668, Published: 2006
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
ASP.NET 2.0: A Developer's Notebook Authors: Wei Meng Lee, Pages: 326, Published: 2005
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
ASP.NET 2.0 All-In-One Desk Reference For Dummies: all-in-one desk reference for dummies Authors: Doug Lowe, Jeff Cogswell, Ken Cox, Pages: 910, Published: 2006

Web:
TreeView on MasterPage does not show - ng.asp-net-forum ... TreeView on MasterPage does not show, > ROOT > NEWSGROUP > Asp.Net Forum ... based page won't display picture, if page is not saved in the same folder. ...
Masterpage based page won't display picture, if page is not saved ... Masterpage based page won't display picture, if page is not saved in the same folder. I posted this thread as a new thread, because the first question was ...
ASP.NET 2.0 Images on Master Page create Circular File Error on ... Nov 29, 2007 ... I have images in the header of my master page that display correctly ... How to create a Tree View of the Windows Folder and extract all the ...
How to: Customize the Display of Quick Launch The default.master file is the Windows SharePoint Services master page that ... the Quick Launch view, or select Enable Tree View to display a folder view. ...
How to work with Master pages and Treeview ? - ASP.NET Forums I created a Master page with two contentPlaceHolders, one for navigation and one ... content I use a tree view to display folders that contains pdf files. ...
How to: Customize the Display of Quick Launch displays a site folder view. You can select which view to display on ... Select Enable Quick Launch to display the Quick Launch view, or select Enable Tree View to ... Master Page Gallery to display a collapsed view with fly-out menus ...
Adding a checked icon to a treeview... Dec 20, 2006 ... I have a treeview in a master page, and I display pdf files ... in ... databound to the treeview control. ... the root folder and only be ...
SharePoint and Other Rants Copy the existing site definition folder located in the ... The location of the master page is likely to be in _catalogs\masterpage. image. You can replace the AspMenu control with a TreeView control to display a familiar tree view with ...
Possible to cache MasterPage on the client? the node resolver *after* a connected TreeView's SelectedNodeChanged event is fired. ... is bin folder still use in asp.net 2.0? ... reportviewer control cause javascript error when display inline. ...
SharePoint Read this Nov 24, 2008 ... The master page includes templates for two controls that by default are ... or select Enable Tree View to display a folder view. .... How to create a Tree View of the Windows Folder and extract all the file-folder info. ...




Search This Site:










menu with security

different colours in navigation menu

help with using the mainmenu class

dynamically override sitemapnode?

sqlcachedependency doesn’t refresh my treeview immediately

master page command information?

change image in treeview node when it expands

asp.net themes discussion

menu control, add child to parent

menuitem and imageurl problem

looking for treeview property

treeview: how do i display only a part of the site?

web design templates

changing text size mixed the browser views of the content page and master page?

site map error

navigation menu not avalable from other folder

how can i hide top menu and filter submenu?

wizard inside a contentplaceholder inside a master page

parser error message: could not load type '_prodwhite'.

.htm docs and “contentplaceholder”

best way to completely change a whole site....

treeview as directory/filebrowser

change site map provider at runtime

how do i disabled back button in ie for master.page, those who have content pages

how to display certain levels in a treeview menu?

how to limit menu from pages in sitemap

dynamicaly setting the hyperlink property of menuitem

need to make a call to master page function from inside of a dynamically loaded user control

applying css in vwd2008

master pages +forms

  Privacy | Contact Us
All Times Are GMT