| | |
question&please answer
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Feb 2007
Posts: 29
Reputation:
Solved Threads: 1
Hi everybody,I faced one interview question in interview that ,
Where should you write the code(for properties like back ground color etc) which applies for every page of your website when application of your website starts? and please give the example also.
Please give the answer.
Thank you,
Aravind
Where should you write the code(for properties like back ground color etc) which applies for every page of your website when application of your website starts? and please give the example also.
Please give the answer.
Thank you,
Aravind
seperate CSS file
it's much more organized hehe.. give example?
* {
background-color: #000000
}
in something.css
it's much more organized hehe.. give example? * {
background-color: #000000
}
in something.css
The ProgrammersTalk Community | Programming & Marketing | Buying & Selling Script
Hang out place of novice and intermediate programmers
Hang out place of novice and intermediate programmers
If it were me, and mind you I'm still quite new to ASP, I'd put it in the master page and store the change in a cookie or session variable. The master page is for material (including layout) that will be rendered on every page, and you just specify parts of it wherein the content will vary by page. Do some research on how to use them.
Arvind you should try using a search engine called google!!
Try this site Download that tool. Start learning from it.
Try this site Download that tool. Start learning from it.
There is just two ways to live your life.
One is as though nothing is a miracle.
The other is as if everything is.
One is as though nothing is a miracle.
The other is as if everything is.
If your application is written in ASP.Net 2.0 , you can create a master page that will be the template for all pages inside the web site.
Or if it is asp.net 1.1, you can create a base class using the PageTemplate design pattern and all other pages will extend the base class to achive common look and feel, etc.....
Or if it is asp.net 1.1, you can create a base class using the PageTemplate design pattern and all other pages will extend the base class to achive common look and feel, etc.....
Thanks,
KedarNath Challa
KedarNath Challa
![]() |
Similar Threads
- A quick question about "rank" (DaniWeb Community Feedback)
- hw assignment help on selection & merge sort (C)
- algorithm question (Computer Science)
- (Medicine Question) Death with Heparin? (Geeks' Lounge)
- A question on java script?(Please answer ASAP) (Java)
Other Threads in the ASP.NET Forum
- Previous Thread: Question
- Next Thread: Pls Help me creating a page in runtime.. pls..
| Thread Tools | Search this Thread |
.net activexcontrol advice ajax alltypeofvideos appliances asp asp.net bc30451 beginner bottomasp.net box browser button c# cac checkbox class click commonfunctions control countryselector dataaccesslayer database datagridview datagridviewcheckbox datalist deployment development dgv dialog dropdownlist dynamic dynamically edit embeddingactivexcontrol expose fileuploader fill findcontrol flash formatdecimal formview gridview gudi iframe iis javascript listbox login microsoft mono mouse mssql news novell numerical opera panelmasterpagebuttoncontrols problem radio redirect registration relationaldatabases reportemail save schoolproject search security sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visualstudio vs2008 web webapplications webdevelopemnt webdevelopment webprogramming webservice wizard xsl youareanotmemberofthedebuggerusers






