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 > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 7/24/2007 11:56:17 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 17 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
sophie86
Asp.Net User
Setting masterpage controls from content page7/24/2007 11:56:17 AM

0/0

Hi, How do i disable a control on the master page from the content page? eg. a menuitem must be disabled....thanks

Biser
Asp.Net User
Re: Setting masterpage controls from content page7/24/2007 2:24:15 PM

0/0

HI 

Try this from your content page:

MenuItem Item= MyPage.Master.FindControl("MenuItem") as MenuItem;
Item.Enable = "false";


Please remember to click "Mark as Answer" on this post if it helped you.
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
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
ASP.NET 2.0: A Developer's Notebook Authors: Wei Meng Lee, Pages: 326, Published: 2005
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008

Web:
ASP.NET Library - Articles - Access Master Page controls from the ... Access Master Page controls from the Content Page. Summary: An example of how you can get or set the values of a control on the Master Page from one of your ...
Less Than Dot - Wiki - ASP.NET: Access Master Page controls from ... Load; ' Set the value of the Master Page's Label to the Content Page's TextBox ... you a simple example of how to interact with controls on the Master Page, ...
Accessing Master Page controls from Content Page user control ... Accessing Master Page controls from Content Page user control ASP.NET. ... public string PopupVisText { set { PopupVis.Text = value; } } ...
Introducing ASP.NET 2.0 Master Pages Text = "This label content is set through the Page_Load event of the child page" ; ... Page 2: Accessing Master Page Controls from Content Pages ...
using master page controls in content page and adding click event ... using master page controls in content page and adding click event .... WindowsClient: EnableFramerateCounter, Setting your Framerate ...
Lance Spence: Accessing Master Page Controls via Content Pages Accessing Master Page Controls via Content Pages ... Finally in the code-behind of your content page you can set the DateLabel to the current date on your ...
HT access master page controls from content page code behind? Is there a way to access controls defined in a 2.0 master page, from inside one of the code behind methods for a content page? For example, my master page ...
access master page controls from within content pages - .NET ASP access master page controls from within content pages. Get answers to your questions in our .NET ASP forum.
access master page controls from within content pages Talk about access master page controls from within content pages.
Page 3 - How to Use Master Pages (Conclusion) Dec 8, 2005 ... In many applications, you need to access one or more of the controls in a master page from one of the application’s content pages. ...




Search This Site:










mulitiple users but updating different data

any problem upgrading from 3.1.1 to 3.2.2 directly?

dnn 3.0 loading images from sqlserver gives error!

sudden error

internet explorer bug, caused of tabstrip.htc file

<iewc> and whidbey

some important question regarding dnn - please help.

nullreferenceexception was unhandled

removing a module from the portal

help with intellisense

vs2005 loginview control

create a ranking list

concatenating two info objects

javascript injection attacks

very strange

setting selectednodeindex on treeview doesn't work!!!

asp:menu control & css... ie & firefox display differently. help!

problems migrating to visual web developer 2005 express beta 2

the type '<class>' exists in both '<dll location>' and '<dll location 2>'

how to develop type ahead functionality in ascx in dnn

problems installing dnn 4.0.2 in lan

problem with personalization on webpart page

hyperlink in user defined table

dnn and atlas

unhandled error 3.0.12 when appending ' to urls

windows and forms authentication

masterpage loss of alignment??

links and dnn installation

subproperties at the page level

treeview with xmldatasource problem

 
All Times Are GMT