1) First Create new Visual Web Part project .
Next point to this project solution to SharePoint site where you want to deploy this Visual Web Part. When you click Finish this time VS.NET validates the
SharePoint URL you are provided . In my case this is the SharePoint site i wanted to deploy this visual web part. http://win-m2ircoq6iqa:44119/Family/
Now we can place Controls from Toolbox or even we can type HTML Files in Source code Window.
Once you Build your web part Right click on the solution and Click the Deploy Solution. Now VS.NET Compiles it and Package it and deploy as well.
Now Click Edit ICON and click web part Ribbon and add our custom Visual web part to our site.
Click Insert –> click web part->select Custom Folder->Select our Visual Web parts and then Click it will add our Visual Web parts to our Site.
Nandri(Thanks)
SreenivasaRagavan.
No comments:
Post a Comment