when i define key in
but what is the different bettwen of document.title and define title of page with add key in code behind and define title with me.title in code behind?
what is the benefit of add key?what is the application of key?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kirtan PatelPosted Dec 15, 2009, 2:49 PM
Difference When storing Page Title in Application Setting Gives you flexibility to change page title without Changing Code of Application and Without recompiling it.
When you create key in Application Settings. it Creates XML File in which it Stores your AppKey and its Value.Now in future if need arise that you want to change the Title of Page .. then you just have to Download the XML file from FTP Server and Just Change One Line in XML file and Re upload it again ..
So you have not affected whole application and You also dont have recompiled the Asp.net application and also changed the Title too :).
Now if you Take Another Senario when you have Hardcoded Title in Code then you must recompile whole Asp.net application to just change single page Title :) that is not recommended .
if my answer helps you then check "Do you like this answer" check box please :)