Home All Groups Group Topic Archive Search About
Author
23 Dec 2005 6:32 PM
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

Author
24 Dec 2005 5:00 AM
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."
Are all your drivers up to date? click for free checkup

Author
24 Dec 2005 5:07 PM
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.
Author
26 Dec 2005 1:20 AM
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.)
--------------------
Show quoteHide quote
| Date: Sat, 24 Dec 2005 11:07:29 -0600
| From: Joshua Flanagan <j***@msnews.com>
| 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#BGHA.***@TK2MSFTNGP15.phx.gbl>
| In-Reply-To: <#s94M9#BGHA.***@TK2MSFTNGP15.phx.gbl>
| Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| Content-Transfer-Encoding: 7bit
| Message-ID: <#8HvTxKCGHA.4***@TK2MSFTNGP14.phx.gbl>
| 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
Show quoteHide quote
| 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.
|
Author
28 Dec 2005 9:41 AM
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#BGHA.***@TK2MSFTNGP15.phx.gbl>
<#8HvTxKCGHA.4***@TK2MSFTNGP14.phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: stch***@online.microsoft.com (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: <OhqfSqbCGHA.1***@TK2MSFTNGXA02.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 40       
| Path: TK2MSFTNGXA02.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:366994
Show quoteHide quote
| 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 <j***@msnews.com>
| | 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#BGHA.***@TK2MSFTNGP15.phx.gbl>
| | In-Reply-To: <#s94M9#BGHA.***@TK2MSFTNGP15.phx.gbl>
| | Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| | Content-Transfer-Encoding: 7bit
| | Message-ID: <#8HvTxKCGHA.4***@TK2MSFTNGP14.phx.gbl>
| | 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.
| |
|
|
Author
28 Dec 2005 5:37 PM
Nalaka
Thanks Steven....
Thats it for now....

Thanks
Nalaka



Show quoteHide quote
"Steven Cheng[MSFT]" <stch***@online.microsoft.com> wrote in message
news:8tLRyL5CGHA.3744@TK2MSFTNGXA02.phx.gbl...
> 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#BGHA.***@TK2MSFTNGP15.phx.gbl>
> <#8HvTxKCGHA.4***@TK2MSFTNGP14.phx.gbl>
> | MIME-Version: 1.0
> | Content-Type: text/plain
> | Content-Transfer-Encoding: 7bit
> | From: stch***@online.microsoft.com (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: <OhqfSqbCGHA.1***@TK2MSFTNGXA02.phx.gbl>
> | 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 <j***@msnews.com>
> | | 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#BGHA.***@TK2MSFTNGP15.phx.gbl>
> | | In-Reply-To: <#s94M9#BGHA.***@TK2MSFTNGP15.phx.gbl>
> | | Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> | | Content-Transfer-Encoding: 7bit
> | | Message-ID: <#8HvTxKCGHA.4***@TK2MSFTNGP14.phx.gbl>
> | | 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.
> | |
> |
> |
>
Author
29 Dec 2005 1:17 AM
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" <nalaka12@nospam.nospam>
| References: <#s94M9#BGHA.***@TK2MSFTNGP15.phx.gbl>
<#8HvTxKCGHA.4***@TK2MSFTNGP14.phx.gbl>
<OhqfSqbCGHA.1***@TK2MSFTNGXA02.phx.gbl>
<8tLRyL5CGHA.3***@TK2MSFTNGXA02.phx.gbl>
| 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#MwuV9CGHA.1***@TK2MSFTNGP10.phx.gbl>
| 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
Show quoteHide quote
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Thanks Steven....
| Thats it for now....
|
| Thanks
| Nalaka
|
|
|
| "Steven Cheng[MSFT]" <stch***@online.microsoft.com> wrote in message
| news:8tLRyL5CGHA.3744@TK2MSFTNGXA02.phx.gbl...
| > 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#BGHA.***@TK2MSFTNGP15.phx.gbl>
| > <#8HvTxKCGHA.4***@TK2MSFTNGP14.phx.gbl>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain
| > | Content-Transfer-Encoding: 7bit
| > | From: stch***@online.microsoft.com (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: <OhqfSqbCGHA.1***@TK2MSFTNGXA02.phx.gbl>
| > | 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 <j***@msnews.com>
| > | | 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#BGHA.***@TK2MSFTNGP15.phx.gbl>
| > | | In-Reply-To: <#s94M9#BGHA.***@TK2MSFTNGP15.phx.gbl>
| > | | Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| > | | Content-Transfer-Encoding: 7bit
| > | | Message-ID: <#8HvTxKCGHA.4***@TK2MSFTNGP14.phx.gbl>
| > | | 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
Show quoteHide quote
| > | | 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.
| > | |
| > |
| > |
| >
|
|
|

Bookmark and Share