Skip to main content

Posts

Showing posts from May, 2012

HTML CONTROL

HTML Controls are HTML elements exposed to the server so you can program against them. HTML controls expose an object model that maps very closely to the HTML elements that they render. HTML Anchor Control It allows programmatic access to the HTML <a> element on the server. There are two ways to use the HtmlAnchor class. The first is for navigation: using the  HRef property to define the location of the page to link to. The second is for postback events: using the  ServerClick  event to programmatically handle the user’s clicking a link. < html   xmlns = " http://www.w3.org/1999/xhtml "   > < script   runat = "server" >      Protected Sub Page_Load(ByVal sender As Object,ByVal e As EventArgs) _ Handles Me.Load          anchor1.HRef = "/QuickStart"      End Sub      </ script > < head ...