SharePoint 2010 Visual Web Part
Upcoming SlideShare
Loading in...5
×
 

SharePoint 2010 Visual Web Part

on

  • 6,104 views

 

Statistics

Views

Total Views
6,104
Views on SlideShare
5,356
Embed Views
748

Actions

Likes
0
Downloads
26
Comments
1

12 Embeds 748

http://sharepoint4arab.blogspot.com 714
http://www.linkedin.com 5
http://sharepoint4arab.blogspot.fr 5
http://sharepoint4arab.blogspot.dk 5
http://webcache.googleusercontent.com 4
http://sharepoint4arab.blogspot.ae 4
http://sharepoint4arab.blogspot.de 4
http://sharepoint4arab.blogspot.ru 2
https://www.linkedin.com 2
https://webcache.googleusercontent.com 1
http://sharepoint4arab.blogspot.ch 1
http://sharepoint4arab.blogspot.co.il 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Very informative slides. Really its clear my doubts. Thanks for sharing with us. I have found another nice post with wonderful explanation on sharepoint over the internet which is also helped me to complete my task.
    http://mindstick.com/Articles/9e1d1fe1-7e51-4d01-86ec-f1f679631a7e/?Create%20and%20Deploy%20Visual%20WebPart%20in%20SharePoint%202010
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

SharePoint 2010 Visual Web Part SharePoint 2010 Visual Web Part Presentation Transcript

  • SharePoint 2010How To: Visual Web Part 1
    Eng. Ismail Enjreny
    Development Manager - SURE
  • About.
    Visual web part definition.
    How to create Visual web part.
    Visual web part - Namespace.
    Visual web part - Location.
    Visual web part - Public properties.
    Visual web part - Localization.
    Questions.
    Agenda
    2
  • Development Manager - SURE
    My Blog: http://SharePoint4Arab.blogspot.com
    Learn SharePoint 2010 book – Author.
    SharePoint 2010 MCITP.
    Abouts
    3
  • Inherits WebPart class
    System.Web.UI.WebControls.WebParts
    Use VS 2010 templates.
    Depends on ascx (UserControl).
    Easy to use.
    Visual web part
    4
  • Visual Studio 2010 templates.
    SharePoint 2010 - Project template.
    SharePoint 2010 - Item template.
    How to create Visual web part
    5
  • Open Visual Studio 2010
    File  New  Project
    SharePoint – 2010  Visual Web Part template
    Project template (cont.)
    6
  • Right click on SharePoint project.
    Add  New Item  Visual Web Part template.
    Item template (cont.)
    7
  • Why?
    Code enhancement.
    web.config readable.
    How?
    Change web part namespace.
    Change user control namespace.
    Modify type element value in “*.webpart” file.
    Modify Namespace value in “SharePointProjectItem.spdata” file.
    Visual web part - namespace
    8
  • Why?
    To organize your web part files.
    Visual web part Group
    Change <Property Name="Group" Value=“YOUR_GROUP" /> in Elements.xml file.
    Visual web part files location.
    Change _ascxPath value in web class.
    Change user control deployment target in “SharePointProjectItem.spdata” file.
    Visual web part - Location
    9
  • Why?
    Configurable Visual web part.
    More flexibility.
    Add public property to web part class.
    Pass the value of public property to user control in CreateChildControls method.
    Visual web part - Public properties
    10
  • Why?
    Support multi languages.
    How?
    Mapping to resources folder under 14 folder.
    Add resource files.
    Replace the text you want by resource expression.
    Visual web part - Localization
    11
  • Questions?
    Please ask 
    12
  • Thank you
    13