
Wrap text through CSS
Wrapping text through CSS is quite a necessary evil when your Analyst come up with jargons that stretches 15-20 charactors... 😉 So here's the deal. If you need to wrap text through CSS, you can use the CSS selector defined below: Wrap words through CSS /* In CSS */ .wrapword{ white-space: -moz-pre-wrap !important; /* Mozilla, ...

HTML 5: Part 1 – Getting Started
Hola Amigos! Before i work with the elephant in the room; lemme tell you HTML 5 specs aint REC ready (Candidate Recommendation - W3C stage for stamping the spec to be ready for use). If Apple dint care waiting for 802.11g spec to stabilize for use in their products...then why should we.. 😉 ..jsssst kidding ...

Convert ‘\\’ to ‘\’ in c#
This post would sound pretty weird to any c# developer. However, a situation i had been in last week forced me to bring this into notice. I had an XML file in which i had node values like 'Requirements Management\XYZ'. I read the XML using XLinq and the c# string looked like 'Requirements Management\\XYZ'. At ...

How to get the javascript version?
Javascript is evolving. With newer version, more commands, new functionalities gets added. To get to know the version of javascript your browser supports, just save the following code as html and load it in your browser: <script type="text/javascript"> var jsver = 1.0; </script> <script language="Javascript1.1"> jsver = 1.1; </script> <script language="Javascript1.2"> jsver = 1.2; </script> ...

When Microsoft or Google CDN fails, what should u do?
// Let me tell you one thing, an outage in CDN is very rare. But just in case you don't want to take a risk, go ahead with this fallback mechanism, as suggested by Scott Guru. Microsoft CDN outage for jQuery: <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js"></script> <script type="text/javascript"> if (typeof jQuery == 'undefined') { document.write(unescape("%3Cscript src='/Scripts/jquery-1.4.2.min.js' type='text/javascript'%3E%3C/script%3E")); ...

Convert a comma separted list to a table in SQL
I thought of sharing this simple function that you can use for splitting a list or nvarchar(max) or anything that is coma separated and sent to DB, into a temp table. Reason: Performance is a bottle neck for us. As for that matter, for any SP executions. We cannot live with the IN operator. It ...

Making SSRS multiselect dropdowns searchable combobox
SSRS Multiselect dropdowns are pretty powerful. Just to add on to the power of it, i felt it would be good to add on a searchable combobox functionality. As and when the user types in a text, the dropdown filters the value and displays only the required results in the dropdown. Also to ensure that ...

SSRS Export to PDF breaking the columns in larger reports
This is a wierd problem, one could face in SSRS. The export to PDF or Word, appears to break the columns in larger reports with 10 or more columns. The main reason being the report size specifications. You can check your report properties to find the report size specifications. Check the screenshot below: Check the ...

jQuery noConflict Tips
Some tips which i feel you need to know before using jQuery library: 1. You can use jQuery instead of $. 2. Predefined alias for jQuery: you can assign jQuery to any variable. With this you can load any versions of jQuery into your site. <!-- load jQuery 1.1.3 --> <script type="text/javascript" src="http://code.jquery.com/jquery-1.1.3.js"></script> <script type="text/javascript" ...

Basic WCF Tutorial for Beginners
I will be explaining a simple WCF service execution, using a sample project (collated from the MSDN Documentation). Lets create a Visual Studio Solution with two console application projects. They are: 1. Service Part - Console Application 2. Client Part - Console Application Let me take you through the Service Part: 1. Create a sample ...