web 2.0

ASP.NET(vb.net) & HTMLAnChor

ASP.NET(vb.net) & HTMLAnChor - HTMLAnChor : Creates a server-side control that maps to the <a> HTML element and allows you link to another Web page.

ShotDev Focus:
- ASP.NET(vb.net) & HTMLAnChor

ASP.NET(vb.net) & HTMLAnChor

Tag Control :

<a id="programmaticID"
href="linkurl"
name="bookmarkname"
OnServerClick="onserverclickhandler"
target="linkedcontentframeorwindow"
title="titledisplayedbybrowser"
runat="server" >
linktext
</a>

Example

HTMLAnchor.aspx

<%@ Page Language="VB" %>
<script runat="server">

Sub Page_Load(sender As Object, e As EventArgs)
Me.Anchor2.href = "http://www.shotdev.com"
Me.Anchor2.Target = "blank"
Me.Anchor2.Title = "Free ASP,PHP,ASP.NET,VB.NET,C# Tutorials"
End Sub

</script>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<form runat="server">
<a id="Anchor1" Href="http://www.shotdev.Com">Link 1</a>
<br>
<a id="Anchor2" runat="server">Link 2</a>
</form>
</body>
</html>

Screenshot

ASP.NET(vb.net) & HTMLAnChor
.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

One Response to “ASP.NET(vb.net) & HTMLAnChor”

  1. 2camcorders…

Leave a Reply

You must be logged in to post a comment.