named anchor

N

Nalaka

Hi,

Is there a gui control in VS2005 to set a "named anchor"?

For an example now I go to the html and write the following code

<a name="jumpToThisLocation"/>



Thanks

Nalaka
 
K

Kevin Yu [MSFT]

Hi Nalaka,

What do you mean by named anchor? Do you mean by a hyperlink or make the
control anchor to some place in the page?

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
J

Joshua Flanagan

There is no specific anchor control.
If you are trying to add it programmatically, use a LiteralControl.
If you are trying to add it from HTML view, just type in the HTML.
 
S

Steven Cheng[MSFT]

Hi Nalaka,

As Joshua has mentioned, so far there is no build-in Server control which
particularly represent the html anchor, however, we can just declare the <a
name="myanchor" runat="server" /> so that the ASP.NET page will add a
LiteralControl member to associate the html element (which we can reference
in our code....).

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Date: Sat, 24 Dec 2005 11:07:29 -0600
| From: Joshua Flanagan <[email protected]>
| User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
| X-Accept-Language: en-us, en
| MIME-Version: 1.0
| Subject: Re: named anchor
| References: <#s94M9#[email protected]>
| In-Reply-To: <#s94M9#[email protected]>
| Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| Content-Transfer-Encoding: 7bit
| Message-ID: <#[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: cpe-66-25-132-55.austin.res.rr.com 66.25.132.55
| Lines: 1
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:366931
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| There is no specific anchor control.
| If you are trying to add it programmatically, use a LiteralControl.
| If you are trying to add it from HTML view, just type in the HTML.
|
 
S

Steven Cheng[MSFT]

Hi Nalaka,

Any progress on this? If there're anything else we can help ,please feel
free to post here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| X-Tomcat-ID: 12113614
| References: <#s94M9#[email protected]>
<#[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: (e-mail address removed) (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Mon, 26 Dec 2005 01:20:28 GMT
| Subject: Re: named anchor
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 40
| Path: TK2MSFTNGXA02.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:366994
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
| Hi Nalaka,
|
| As Joshua has mentioned, so far there is no build-in Server control
which
| particularly represent the html anchor, however, we can just declare the
<a
| name="myanchor" runat="server" /> so that the ASP.NET page will add a
| LiteralControl member to associate the html element (which we can
reference
| in our code....).
|
| Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
| --------------------
| | Date: Sat, 24 Dec 2005 11:07:29 -0600
| | From: Joshua Flanagan <[email protected]>
| | User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
| | X-Accept-Language: en-us, en
| | MIME-Version: 1.0
| | Subject: Re: named anchor
| | References: <#s94M9#[email protected]>
| | In-Reply-To: <#s94M9#[email protected]>
| | Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| | Content-Transfer-Encoding: 7bit
| | Message-ID: <#[email protected]>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: cpe-66-25-132-55.austin.res.rr.com 66.25.132.55
| | Lines: 1
| | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
| | Xref: TK2MSFTNGXA02.phx.gbl
| microsoft.public.dotnet.framework.aspnet:366931
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| |
| | There is no specific anchor control.
| | If you are trying to add it programmatically, use a LiteralControl.
| | If you are trying to add it from HTML view, just type in the HTML.
| |
|
|
 
S

Steven Cheng[MSFT]

Thanks for your followup Nalaka,

Good luck!

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Nalaka" <[email protected]>
| References: <#s94M9#[email protected]>
<#[email protected]>
<[email protected]>
<[email protected]>
| Subject: Re: named anchor
| Date: Wed, 28 Dec 2005 09:37:53 -0800
| Lines: 91
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <O#[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: m181-9.bctransit.bc.ca 199.60.181.9
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:367345
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Thanks Steven....
| Thats it for now....
|
| Thanks
| Nalaka
|
|
|
| | > Hi Nalaka,
| >
| > Any progress on this? If there're anything else we can help ,please feel
| > free to post here.
| >
| > Regards,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| > --------------------
| > | X-Tomcat-ID: 12113614
| > | References: <#s94M9#[email protected]>
| > <#[email protected]>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain
| > | Content-Transfer-Encoding: 7bit
| > | From: (e-mail address removed) (Steven Cheng[MSFT])
| > | Organization: Microsoft
| > | Date: Mon, 26 Dec 2005 01:20:28 GMT
| > | Subject: Re: named anchor
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | Message-ID: <[email protected]>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | Lines: 40
| > | Path: TK2MSFTNGXA02.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:366994
| > | NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
| > |
| > | Hi Nalaka,
| > |
| > | As Joshua has mentioned, so far there is no build-in Server control
| > which
| > | particularly represent the html anchor, however, we can just declare
the
| > <a
| > | name="myanchor" runat="server" /> so that the ASP.NET page will add
a
| > | LiteralControl member to associate the html element (which we can
| > reference
| > | in our code....).
| > |
| > | Thanks,
| > |
| > | Steven Cheng
| > | Microsoft Online Support
| > |
| > | Get Secure! www.microsoft.com/security
| > | (This posting is provided "AS IS", with no warranties, and confers no
| > | rights.)
| > | --------------------
| > | | Date: Sat, 24 Dec 2005 11:07:29 -0600
| > | | From: Joshua Flanagan <[email protected]>
| > | | User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
| > | | X-Accept-Language: en-us, en
| > | | MIME-Version: 1.0
| > | | Subject: Re: named anchor
| > | | References: <#s94M9#[email protected]>
| > | | In-Reply-To: <#s94M9#[email protected]>
| > | | Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| > | | Content-Transfer-Encoding: 7bit
| > | | Message-ID: <#[email protected]>
| > | | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | | NNTP-Posting-Host: cpe-66-25-132-55.austin.res.rr.com 66.25.132.55
| > | | Lines: 1
| > | | Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
| > | | Xref: TK2MSFTNGXA02.phx.gbl
| > | microsoft.public.dotnet.framework.aspnet:366931
| > | | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | |
| > | | There is no specific anchor control.
| > | | If you are trying to add it programmatically, use a LiteralControl.
| > | | If you are trying to add it from HTML view, just type in the HTML.
| > | |
| > |
| > |
| >
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,832
Latest member
GlennSmall

Latest Threads

Top