Archive for August, 2009
YSlow Add-ons For FireFox
YSlow Add-ons For Fire fox:
YSlow is the add-ons for the firefox that analyzes the web pages and the reasons why they are slow based on the Yahoos rule for very high performance web sites. This YSlow will analyzes the web pages and suggests the number of ways to improve their performance based on a set of rules for high performance web pages.
YSlow is a Firefox add-on integrated with the Firebug web development tool. YSlow grades web page based on one of three predefined ruleset or a user-defined ruleset. It offers suggestions for improving the page’s performance, summarizes the page’s components, displays statistics about the page, and provides tools for performance analysis.
To get it now type : https://addons.mozilla.org/en-US/firefox/addon/5369
Happy Coding……………
No comments
Regular Expression To Allow only 2 Decimal Places in the Textbox Control
Regular Expression To Allow only 2 Decimal Places in the Textbox Control :
In order to allow only 2 decimal places in the textbox use the regular expression validator. In the validator control there will be a property called ValidationExpression,use this property to assign the valid expression as shown below.
<asp:TextBox ID=”_tbCost” runat=”server” TabIndex=”4″></asp:TextBox>
<asp:RegularExpressionValidator ID=”_ReqExpressionPhoneNo” runat=”server” ErrorMessage=”Enter numbers & ‘.’ only,should contain only 2 decimal places.” ControlToValidate=”_tbCost” Display=”none” ValidationExpression=”(?!^0*$)(?!^0*\.0*$)^\d{1,18}(\.\d{1,2})?$”>
</asp:RegularExpressionValidator>
No comments
