In my project, I have to display the total of selected item in thousand separated format. I am using java script to find total of selected values. Now I have to display the result in Thousand deperated format (like 12,345.00). Here the function that I have used to do that.
<script language = “javascript”> function ThousandSeparator(decimalDigits,Value){ [...]
Archive for May, 2007
Thousand Separator function for Java Script
Posted in DotNet 3.0, Javascript, Techincal on May 28, 2007 | 5 Comments »
An error occured while establishing a connection to server. When connectiing to SQL Server 2005,…SQL Network Interfaces, error:26 – Error Locating Server/Instance Specified.
Posted in DotNet 2.0, Sql Server, Techincal on May 26, 2007 | 6 Comments »
I have seen this error so many time so I thought that let me post the solution that work for me. First thing check your connection string that it points correct server. This is the most common mistake. Sometime connection string points to SQL Express, while machine does not have SQL Expressed installed.
If [...]
Disable right click on page.
Posted in DotNet 2.0, Javascript, Techincal on May 24, 2007 | 9 Comments »
Here is the code to disable right click on page.
<html><body oncontextmenu=”return false;”> Try right click.</body></html>
Happy Programming !!
Prototype.js
Posted in DotNet 2.0, Javascript, Techincal on May 24, 2007 | Leave a Comment »
Today while surfing, I found a good javascript framework Prototype.js. It is a JavaScript library written by Sam Stephenson. This amazingly well thought and well written piece of standards-compliant code takes a lot of the burden associated with creating rich, highly interactive web pages that characterize the Web 2.0 off your back.
This framework helps the [...]
UML Diagrams
Posted in General, Techincal on May 24, 2007 | Leave a Comment »
I have to create class and Sequence diagrams in my recent project. I was searching for for some quick and good material for UML diagrams. I found the really cool article here.
Custom DateTime Format Specifier
Posted in DotNet 2.0, Techincal on May 3, 2007 | Leave a Comment »
Please find article at
http://chiragrdarji.blogspot.com/2007/05/custom-datetime-format-specifier.html