Anyone who has done webpart development knows that we can use the user control packageUsercontrolPackagedWebpart.
Previously, I used smartpartThis packaging method is used, but it has encountered various troubles in recent development. For example, it is very complicated to display custom attributes in the toolbar of webpart.
So let's look at itKaneboy user control package, which easily integrates the interfaces required by webpart
Recently, kaneboyIt also launched its user control package.Hands-on-LabIt is quite easy for developers to download and learn how to use it.
the content includes:
lab0: Install and deploy the user control package
lab1: Package the user control into a webpart and deploy it on the SharePoint page
lab2: add custom attributes to the user control
lab3: enable the user control to support webpart connections
: here !!