Open Visual Studio 2010 and create a Visual Web Part project as selecting from SharePoint 2010 tab
Now provide name of the site where you want to deploy the web part
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.
Open VisualWebPart1UserControl.ascx and add below script
After adding above script add
Now add below script,
Inside script tag , write a function
And now u can see that in this function IntelliSense is working
So in JavaScript function it would be working like below
Leave a Reply