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: 3/8/2007 6:37:46 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 22 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
hsl001
Asp.Net User
Accessing Master Page Control3/8/2007 6:37:46 AM

0/0

Hi Friiends,

I have a master page with a treeview control and SiteMapDataSource1.  In Page_Load() of the Default.aspx, how could I set the SiteMapProvider to Web1 (siteMap in Web.Config)?

TIA

Ramzi.Aynati
Asp.Net User
Re: Accessing Master Page Control3/8/2007 7:01:56 AM

0/0

add a @masterType directive to ur page

then create a property in ur master page create a property, and asign that property to ur sitemapdatasource

from ur page access that property and make the required changes


Regards
Ramzi
--------------------------------------------
Dont Forget to mark the post as answered once replied.
aghausman12
Asp.Net User
Re: Accessing Master Page Control3/8/2007 7:03:35 AM

0/0

You can access the SiteMapDatasource in Master page in the following way.

Ctype(Me.Master.FindControl("SiteMapDataSource1"),SiteMapDataSource)

now you will be able to set any property of   SiteMapDatasource

cheers 


Dont forget to click "Mark as Answer" on the post that helped you. This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
http://www.geekswithblogs.net/aghausman
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Professional C# 2005 with .NET 3.0 Authors: Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Pages: 1748, Published: 2007
Pro ASP.NET 2.0 Website Programming Authors: Damon Armstrong, Pages: 641, Published: 2005
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
ASP.NET 2.0: Your Visual Blueprint for Developing Web Applications Authors: Chris Love, Pages: 339, Published: 2007
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
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter Kit: visual web developer 2005 express edition starter kit Authors: David Sussman, Alex Homer, Pages: 312, Published: 2005
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006

Web:
Introducing ASP.NET 2.0 Master Pages Using that reference, you have direct access to the controls in the master page. This is a very powerful feature that gives content pages complete control ...
How to access a control in master page? Talk about How to access a control in master page?
Working with ASP.NET Master Pages Programmatically However, you can use the FindControl method to locate specific controls on the master page. If the control that you want to access is inside a ...
Accessing Master page control from child page - ASP.NET Forums Re: Accessing Master page control from child page. 12-02-2007, 9:05 AM. Contact ... Re: Accessing Master page control from child page ...
ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps Apr 11, 2006 ... Header gives us access to the head tag as a server side control (the head tag in the master page must include runat=”server” for the Header ...
Access master page control from content page Oct 23, 2008 ... The common method to access master page control (in this example lable) from content page is given below: Dim myLabel As Label ...
p2p.wrox.com Forums - Access Master page control from Content page. p2p.wrox.com Forums - access master page control from content page. ... How can I access controls of Master Page from Content Page? ...
How to access a control of a Master Page? - ASP.NET Forums How to access a control of a Master Page? Last post 08-15-2006 5:17 PM by LudovicoVan. 7 replies. Sort Posts: ...
Access Master Page Control from User Control (client side ... I would like to access the radPane control located on the MasterPage used by the same page that consumes the User Control with the ...
Master Pages 101: Using VB 2005 to Access Master Page ASP.NET ... The strongly typed approach uses a master page property to provide a reference the master page control. Partial Class MasterPage Inherits System.Web.UI. ...

Videos:
Liege Lord "Master Control" Title Track from the 1988 album. Liege Lord Formed by Matt Vinci, Anthony Truglio and Frank Cortese legendary American speed/power metal band, activ...
Access 2000 (05) Web Security The Access 2000 (05) Web Security is part of KeyStone Learning Systems library of more than 1,200 CD-ROM and video-based information technology cours...
Bug Master - Vero Beach, FL - Full Service Pest Control Company Bug Master is a full service pest control company providing household, lawn, plant, and termite pest control. Serving St. Lucie and Indian River Coun...
Access 2000 (05) Web Security The Access 2000 (05) Web Security is part of KeyStone Learning Systems library of more than 1,200 CD-ROM and video-based information technology cours...
$489,000 2004 46' Carver 466 Motor Yacht Used Boat For Sale The Carver 46 Motor Yacht offers multiple possibilities to accommodate any celebration and has cruising power with its twin 480 HP Volvo diesel engin...
Access 2000 (05) Web Security The Access 2000 (05) Web Security is part of KeyStone Learning Systems library of more than 1,200 CD-ROM and video-based information technology cours...
Kiss - Master & Slave Life, a movie in my head A page of lines we read The words remain unsaid Time, a race you never win Look back at where we've been And throw the ...
Access 2000 (05) Web Security The Access 2000 (05) Web Security is part of KeyStone Learning Systems library of more than 1,200 CD-ROM and video-based information technology cours...
Access 2000 (05) Web Security The Access 2000 (05) Web Security is part of KeyStone Learning Systems library of more than 1,200 CD-ROM and video-based information technology cours...
Backlinks to #1on Google in 48hrs http://trafficcoleman.com/google.htm backlinks links exchange traffic free visitors http://trafficcoleman.com/google.htm It is out of question that ...




Search This Site:










problems invoking a reportviewer control from treeview

questions about treeview behaviour

tabstrip, multipage and windows 2000 server

uiwebcontrols - treeview control

about ie web controls

treeview problems - questions

ie webcontrol treeview: <table> tag in xslt

problem with using treeview and tabstrip controls

is it possible to change the name of the webctrl_client virtual directory?

where is the microsoft.web.ui.webcontrols.dll

treeview control

compiler warning under framework 1.1

microsoft.web.ui.webcontrols treeview

problems with ms tabstrip control & casini

build.bat gives warning

problem installing web controls

report your bugs 2.0

still getting only plain test

treeview web control rendering as plain text

can't expand and collapse specific tree node

how to resize t.gif, l.gif, i.gif... in treeview

change treeview default plus and minus sign

i can not install

is it possible to call treeview javascript function from javascript :) ?

treeview with external style sheets

multipage nav with tabstrip and next/prev buttons?

hover text

cannot see microsoft.web.ui.webcontrols.dll file

help

how to pass different pages to the iframe using tabstrip--urgent

  Privacy | Contact Us
All Times Are GMT