L
Leon
I have 10 .aspx pages within my web application and would like to know what
is the best way I can write code within my header user control so that the
greeting message change for each page the user are currently viewing
("should I do an if/else or case statement within my header user control?")?
how?
Also what is the best way to know exactly what page the current user are
viewing ("using the full url such as www.mysite.com/home.aspx or is it a
shorthand way?")?
Example:
Page = www.mysite.com/home.aspx
Greeting.Text = Welcome to mysite.com
is the best way I can write code within my header user control so that the
greeting message change for each page the user are currently viewing
("should I do an if/else or case statement within my header user control?")?
how?
Also what is the best way to know exactly what page the current user are
viewing ("using the full url such as www.mysite.com/home.aspx or is it a
shorthand way?")?
Example:
Page = www.mysite.com/home.aspx
Greeting.Text = Welcome to mysite.com