web 2.0

ASP.NET(vb.net) & HTMLSelect

ASP.NET(vb.net) & HTMLSelect - HTMLSelect : Creates a server-side control that maps to the <textarea> HTML element and allows you create a multiline text box.

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

ASP.NET(vb.net) & HTMLSelect

Tag Control :

<textarea id="programmaticID"
cols="numberofcolsintextarea"
name="namepassedtobrowser"
rows="numberofrowsintextarea"
onserverchange="onserverchangehandler"
runat="server" >
textareacontent
</textarea>

Example

HTMLSelect.aspx

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

Sub Button1_OnClick(sender As Object, e As EventArgs)
Me.lblText1.Text = Replace(Me.TextArea1.Value,vbCrLf,"<br>")
End Sub

</script>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<form runat="server">
<textarea id="TextArea1" cols="40" rows="4" runat="server" />
<input id="Button1" type="button" OnServerClick="Button1_OnClick"  value="Button" runat="server" />
<hr>
<asp:Label id="lblText1" runat="server"></asp:Label>
</form>
</body>
</html>

Screenshot

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

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

Leave a Reply

You must be logged in to post a comment.