Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Asp.Net Programming

Accessing Master Page elements from Content


Hi all,

I've only just started to use ASP.Net 2.0. I'm an experienced ASP.Net
developer and had a question regarding master pages.

Can you interact with elements that exist on the master page template?
For instance, let's say I wanted to show menu items on the master
page. Depending on what content page I'm on, I want to highlight the
specific menu item in my header. Or perhaps, I may want to add
querystring values to hyperlink controls on the master page template.

Can you point me to a resource that may discuss this further? Thanks.

Jason

"daokfella" <jjbut@hotmail.com> wrote in message

news:1171048143.882263.50350@k78g2000cwa.googlegroups.com...

> Can you interact with elements that exist on the master page template?

There's no trickery to MasterPages - a MasterPage is just a UserControl like
any other UserControl...

this.Master.FindControl(<control>).<property> = <value>;

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc