Below is a simple example of Number Validation in Textbox of ASP.Net Using Regular Expression Validator.
It will also allow all decimal number, excluding all alphanumeric characters.
<asp:TextBox ID="AssetsTextBox" runat="server" Width="240px"></asp:TextBox>
<asp:RegularExpressionValidator ID="revAssets" runat="server"
ErrorMessage="Assets must be a number" Font-Bold="False"
Font-Size="Small"
ValidationExpression="^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$"
ControlToValidate="AssetsTextBox" Display="Dynamic" >
</asp:RegularExpressionValidator>
.NET
The .NET Framework allows developers to use the same set of skills to rapidly buid great applications for the web, windows, services and more.
Number Validation in Textbox of ASP.NET Using Regular Expression Validator
Display Text Upside down using CSS3
Below example will help you to learn how to Display some text Upside down on the webpage using CSS3.
<html>
<head>
<title>Display Text Up side down Example...</title>
<style type="text/css">
.displayUpsideDown
{
-o-transform: rotate(-180deg); /* Opera 10.5 */
-webkit-transform: rotate(-180deg); /* Safari 3.1+, Chrome */
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); /* IE6,IE7 */
ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; /* IE8 */
-moz-transform: rotate(-180deg); /* FF3.5+ */
position: absolute;
}
</style>
</head>
<body>
<div class="displayUpsideDown">ENJOY SAMPLE TEXT HERE!!!</div>
</body>
</html>
Subscribe to:
Posts (Atom)