Enabling JavaScript IntelliSense on Visual Web Part in SharePoint 2010

Open Visual Studio 2010 and create a Visual Web Part project as selecting from SharePoint 2010 tab

clip_image002

Now provide name of the site where you want to deploy the web part

clip_image003

Click on Validate button to validate the site. If you are able to connect and get below message then we are we are good to go.

clip_image004

Open VisualWebPart1UserControl.ascx and add below script

clip_image006

After adding above script add

clip_image007

Now add below script,

clip_image009

Inside script tag , write a function

clip_image011

And now u can see that in this function IntelliSense is working

clip_image001

So in JavaScript function it would be working like below

clip_image013

3 responses to “Enabling JavaScript IntelliSense on Visual Web Part in SharePoint 2010”

  1. Cool man! I wanted this from such a long time! I’ll try it today itself.

  2. When Copy and Paste information, do you actually BOTHER to verify that it works ??? If you had taken a little more time you would find out that there are problems with this at the moment.

  3. I am sorry it did not work for you… for me what I explained worked dude … and I will appreciate if you come with your real name , if you got ball….

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s