Click here to Skip to main content
15,929,833 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Accessing master page controls Pin
Christian Graus27-Apr-08 11:26
protectorChristian Graus27-Apr-08 11:26 
That works, but what I would do, is write a base page for all my pages, and in that base page, put a property that returns a strongly typed instance of my specific master page, as opposed to the Master property which returns the common base class.

At a minimum, I would store the names of those Menu controls as a resource, so you don't have to remember them and cannot mistype them, and I would check if FindControl returned null, so your site doesn't blow up if one of them is renamed or something.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

Questionhow to use ajax in asp.net 2.0 Pin
salil_k_singh27-Apr-08 9:15
salil_k_singh27-Apr-08 9:15 
GeneralRe: how to use ajax in asp.net 2.0 Pin
Blue_Boy27-Apr-08 9:20
Blue_Boy27-Apr-08 9:20 
GeneralRe: how to use ajax in asp.net 2.0 Pin
Christian Graus27-Apr-08 11:24
protectorChristian Graus27-Apr-08 11:24 
Generaljavascript function work with on project and another one nooooo !!! Pin
kindman_nb27-Apr-08 8:44
kindman_nb27-Apr-08 8:44 
GeneralRe: javascript function work with on project and another one nooooo !!! Pin
Christian Graus27-Apr-08 11:30
protectorChristian Graus27-Apr-08 11:30 
GeneralRe: javascript function work with on project and another one nooooo !!! Pin
kindman_nb27-Apr-08 11:42
kindman_nb27-Apr-08 11:42 
GeneralRe: javascript function work with on project and another one nooooo !!! Pin
Christian Graus27-Apr-08 12:09
protectorChristian Graus27-Apr-08 12:09 
GeneralRe: javascript function work with on project and another one nooooo !!! Pin
AlexeiXX327-Apr-08 18:57
AlexeiXX327-Apr-08 18:57 
GeneralRe: javascript function work with on project and another one nooooo !!! Pin
kindman_nb27-Apr-08 22:08
kindman_nb27-Apr-08 22:08 
GeneralRe: javascript function work with on project and another one nooooo !!! Pin
kindman_nb27-Apr-08 22:26
kindman_nb27-Apr-08 22:26 
GeneralRe: javascript function work with on project and another one nooooo !!! Pin
AlexeiXX328-Apr-08 5:11
AlexeiXX328-Apr-08 5:11 
GeneralPersistent client side changes Pin
derm227-Apr-08 6:24
derm227-Apr-08 6:24 
GeneralRe: Persistent client side changes Pin
Christian Graus27-Apr-08 11:33
protectorChristian Graus27-Apr-08 11:33 
GeneralRe: Persistent client side changes Pin
derm228-Apr-08 22:18
derm228-Apr-08 22:18 
GeneralRe: Persistent client side changes Pin
Christian Graus28-Apr-08 23:55
protectorChristian Graus28-Apr-08 23:55 
GeneralRe: Persistent client side changes Pin
derm229-Apr-08 2:18
derm229-Apr-08 2:18 
GeneralRe: Persistent client side changes Pin
Christian Graus29-Apr-08 2:26
protectorChristian Graus29-Apr-08 2:26 
GeneralRe: Persistent client side changes Pin
derm229-Apr-08 6:43
derm229-Apr-08 6:43 
Questioncleaing memory on client side -javascript Pin
michael@cohen27-Apr-08 6:22
michael@cohen27-Apr-08 6:22 
GeneralRe: cleaing memory on client side -javascript Pin
Christian Graus27-Apr-08 11:32
protectorChristian Graus27-Apr-08 11:32 
GeneralTimed Exams Pin
Mohammad A Gdeisat27-Apr-08 3:09
Mohammad A Gdeisat27-Apr-08 3:09 
GeneralRe: Timed Exams Pin
Krazy Programmer27-Apr-08 7:42
Krazy Programmer27-Apr-08 7:42 
GeneralRe: Timed Exams Pin
Mohammad A Gdeisat27-Apr-08 10:40
Mohammad A Gdeisat27-Apr-08 10:40 
GeneralRe: Timed Exams Pin
Christian Graus27-Apr-08 11:36
protectorChristian Graus27-Apr-08 11:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.