|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
named anchorHi,
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 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." 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. 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 microsoft.public.dotnet.framework.aspnet:366931| 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 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. | 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 <#8HvTxKCGHA.4***@TK2MSFTNGP14.phx.gbl>| References: <#s94M9#BGHA.***@TK2MSFTNGP15.phx.gbl> | MIME-Version: 1.0 microsoft.public.dotnet.framework.aspnet:366994| 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 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. | | | | 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. > | | > | > | > 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> <#8HvTxKCGHA.4***@TK2MSFTNGP14.phx.gbl> | References: <#s94M9#BGHA.***@TK2MSFTNGP15.phx.gbl> <OhqfSqbCGHA.1***@TK2MSFTNGXA02.phx.gbl> <8tLRyL5CGHA.3***@TK2MSFTNGXA02.phx.gbl> | Subject: Re: named anchor microsoft.public.dotnet.framework.aspnet:367345| 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 Show quoteHide quote | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl| | 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: 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. | > | | | > | | > | | > | | |
Other interesting topics
Embedding an image in the html?
File security weirdness createing file. .net objects to javascript? Javascript to Set Focus to TextBox Comparing values between two arrays Compressing and spanning files on upload ASP.NET License or Royalties Modification by JavaScript function won't stay, why? When to use FormsAuthenticationTicket() Refresh page error |
|||||||||||||||||||||||