Here we discuss about how to get current page title name?
When we use below code:
protected void Page_Load(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(Page.Title))
{
string path = Path.GetFileName(Request.Path);
}
}
Example:
...
Thursday, 31 March 2016
How to Get File Name without Extension?
Wednesday, 30 March 2016
How to add a favicon images to your asp.net page?
How to add a favicon images to your asp.net page?
How can you add images to your asp.net title page?
Step 1: Firstly convert your logo or image to favicon.ico.
This can be done as follows:
Go to the link given below,
http://favicon-generator.org/
Choose your image, convert it to .ico.
Download your favicon.ico to your application directory.
Step 2: Copy and paste this favicon.ico to image folder of project.
Step 3: Open Master page(SiteMaster).
Step...
Subscribe to:
Posts (Atom)