JQuery with Asp.net and Visual Studio 2008 intellisense
Here is a small post on Jquery which is a far better alternative to Aspnet Ajax.Its a small JavaScript library with immense power and most widely used these days.A few months ago Microsoft announced that they will be shipping JQuery with Next Release of their Visual Studio i.e Visual Studio 2010.
Visual Studio 2010 and .net framework 4.0 Community Technology Preview are already available for download from
I am not sure about the intellisense support for JQuery and JavaScript in this new version but as Microsoft Promised they will surely ship it in their final release.
As for now with Visual Studio 2008 full intellisense for JQuery is achieved using a .vsdoc.js file.
Steps to follow to get full intellisense
- Install this Hotfix which will fix many issues for Visual Studio Team Systems 2008 and also enable and enhance you script intellisense if somehow it is disabled or its not coming with many other fixes.
Download Link :-https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=10826
- Jeff King has a very good post describing the second step here.
http://blogs.msdn.com/webdevtools/archive/2008/10/28/rich-intellisense-for-jquery.aspx
Here a hack is applied so there two files are given one is “jquery-1.2.6.js” another is “jquery-1.2.6-vsdoc.js”.So the first file is the actual Jquery file which should be downloaded on the clients browser along with the markup whereas second file should only be available while using intellisense inside the Visual Studio 2008.The markup comments shown above are achieving the same thing.
A very simple Visual Studio Solution is attached at the end of this post for you to see the architecture of how to include jquery files and how to do very basic things using Jquery in an aspx page having basic markup as HTML.
After following these steps you are now ready to start Jquery development in Asp.net
Download Source Code Here :-http://9wtpog.bay.livefilestore.com/y1pPZ0KF1m2F28wRGe4wQYrbDCyIuWruESEpdlcILrP_8rIkJfe2eTchl6iw6KSUMwRroVAQ2UvoCo/JqueryIntellisenseInstallation.rar?download
Adding LinkedIn Button To Blogger or WordPress or any other Blog
Today i was trying to add a “LinkedIn” to my linked in profile button on Blogger.But it was not so easy.
You can directly embed the HTML and get the linked in image link if you want but for me it didn’t workde.Then i came to know that the linked in people themselves provide custom buttons that you can add anywhere either to your blog or your websites.
But these custom button service is rather hidden ie not visible at the first sight.So i thought that it would be helpful if i share this post with you all.
Below i have given detailed description with images on how to add this linked in button to your blog.
Steps:-
- Just go to http://www.linkedin.com/

2.Sign into your profile
- 3.Goto public profile and click the edit button next to your public profile
- 4.Click on promote your profile add custom buttons link

- 5. Now you can see a lot of buttons and their respective code which you can directly paste into your blog.
Outlook 2007 Signatures:- Using custon HTML and styles in Signatures in Outlook 2007
Outlook 2007 does not give the facility to put the custom HTML and styling in Signatures under the signatures box.

As you can see that by default when you edit your signatures you only have Delete New Save Rename Options.
And also a few options to insert image and some hyperlink but no support for any kind of custom editing of HTML and styles.
So what to do if you want to enter some custom HTML and do some styling to your signatures while using Outlook 2007.
Here is the workaround.
WorkAround


Just Navigate to your “C:\Documents and Settings\(your_username)\Application Data\Microsoft\Signatures”.
Here Search for the htm file which will generally be starting with you Name.
Open this file in Notepad , Notepad++ and add whatever custom content you want to add.

Click Save and you are done.
Open your Outlook Signatures Box to see that changes made by you are reflected or not.
Send a mail to your another account to check whether your custom signatures are working or not.
Visual Studio is missing default templates
If your Visual Studio either VS2005 or VS2008 is missing some default tempates, or whenever you want to add any new item and click add new item you are surprise to find that either your add new WebForm is missing or any other similar item is missing from the add new item list then your templates defaults are corrupted due to some reasons or latest updates or patches or any other software which you have recently installed.
Workaround
So the workaround to this problem is:-
- Just go to the Visual Studio command prompt.
- Close all opened instances of Visual Studio
- Run this command devenv/installvstemplates on Visual Studio Command Prompt.
- And thats it all your templates will be set to defaults.






