473,386 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Aspx page icon?

Does anyone know how to define a shortcut icon for a aspx page?
I found this:
<HEAD>
<LINK REL="SHORTCUT ICON" HREF="http://www.mydomain.com/myicon.ico">
<TITLE>My Title</TITLE>
</HEAD>at
http://msdn.microsoft.com/library/de...cutIcon.aspbut
it seems to be not valid for aspx pages since "SHORTCUT ICON" is signaled as
an invalid attribute for LINK tagThanks in advance for any help...Nicola
Nov 18 '05 #1
2 6535
I've tried the code from the msdn library and everything goes correct as it
added the icon in the favorites menu next to the name of the site, but when
you load the page the icon is not changed
as for the SHORTCUT ICON in .Visual Studio .NET 2003 it doesn't underline it
as unrecognized property

Regards
Martin

"Nicola Garone" <ng*****@dimensionecad.it> wrote in message
news:ux*************@TK2MSFTNGP10.phx.gbl...
Does anyone know how to define a shortcut icon for a aspx page?
I found this:
<HEAD>
<LINK REL="SHORTCUT ICON" HREF="http://www.mydomain.com/myicon.ico">
<TITLE>My Title</TITLE>
</HEAD>at
http://msdn.microsoft.com/library/de...cutIcon.aspbut it seems to be not valid for aspx pages since "SHORTCUT ICON" is signaled as an invalid attribute for LINK tagThanks in advance for any help...Nicola

Nov 18 '05 #2
Hi,

Even though VS.NET's schema doesn't understand 'SHORTCUT ICON' (and hence
you might see a red underline in the IDE editor), it still works from the
browser.

"Nicola Garone" <ng*****@dimensionecad.it> wrote in message
news:ux*************@TK2MSFTNGP10.phx.gbl...
Does anyone know how to define a shortcut icon for a aspx page?
I found this:
<HEAD>
<LINK REL="SHORTCUT ICON" HREF="http://www.mydomain.com/myicon.ico">
<TITLE>My Title</TITLE>
</HEAD>at
http://msdn.microsoft.com/library/de...cutIcon.aspbut
it seems to be not valid for aspx pages since "SHORTCUT ICON" is signaled as
an invalid attribute for LINK tagThanks in advance for any help...Nicola

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: CW | last post by:
I just took an extensive ASP.NET course and copied my projects to my wwwroot folder and tried opening my default page which consumes some web service. It worked ok at the course but now I get this...
5
by: Miguel Angel | last post by:
Hi, I would like to insert an image into a html page title. I have been looking for information on how to do it, but haven't found any, thus here I am. I may be in the wrong place, but I...
8
by: Ed Isenberg | last post by:
I notice that a lot of Web pages have an icon that is displayed preceding the URL in the place in the browser where the URL is displayed. When I bookmark or add this to Favorites the icon is also...
1
by: Hose B | last post by:
HI all, I have a legacy app in which users can pick various page templates. There is a template preview dialog. It works such that they view a list of icons in an asp page that represent each...
2
by: dharma25 via DotNetMonster.com | last post by:
After ive created a page and click on the start icon in visual studio to view the current page in the browser.... it always displays some other page from the site. then I have to manually enter my...
4
by: roger janssens via DotNetMonster.com | last post by:
hello all. i'm used to scripting in php. there, you just include(bla.php) and it works. so i have a template that defines my layout and stays the same forever, but in that file, there's a table...
1
by: John M | last post by:
Hello, In an *.sln solution, I have added a project (VB .NET), and under the project, I have added some files. I did : right click + add existing file (I had the existing files : main.aspx,...
29
by: John Rivers | last post by:
Hello, What good reason there is for not allowing methods in ASPX pages I can't imagine, but here is how to get around that limitation: (START) <body MS_POSITIONING="FlowLayout"> <form...
2
by: vincent90152900 | last post by:
Following is my code and I want the Panel1 display beside the TreeView1. I found out the ModalPopupExtender has two property, “X”, and “Y”. So, I wish I could find out the position of a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.