Customization not supported in Import/Export commands SharePoint

In Import/Export commands SharePoint Customization like events attached on lists, themes etc not supported..Reason->these stuff are file based not in database….so, file based never migrate :)

SharePoint Webpart LifeCycle

OnInit: Define controls that will be involved with WebPart

CreateChildControls: Control properties and methods previously declared.

OnPreRender: Control's value kept by ViewState (for example Item value set up by the user to DropDownList nation), is available. For this reason, it's normal to begin business procedure from here, and in our case we are going to load values for the second dropdown list (Town DropDownList) with the proper data:

Render: For HTML rendering WebPart

SharePoint Templates ID

Given blow table will help you to see the Template ID for SharePoint.

Template Name Description
GLOBAL#0 Global template
STS#0 Team Site
STS#1 Blank Site
STS#2 Document Workspace
MPS#0 Basic Meeting Workspace
MPS#1 Blank Meeting Workspace
MPS#2 Decision Meeting Workspace
MPS#3 Social Meeting Workspace
MPS#4 Multipage Meeting Workspace
CENTRALADMIN#0 Central Admin Site
WIKI#0 Wiki Site
BLOG#0 Blog
BDR#0 Document Center
OFFILE#0 Records Center
OFFILE#1 Records Center
OSRV#0 Shared Services Administration Site
SPS#0 SharePoint Portal Server Site
SPSPERS#0 SharePoint Portal Server Personal Space
SPSMSITE#0 Personalization Site
SPSTOC#0 Contents area Template
SPSTOPIC#0 Topic area template
SPSNEWS#0 News Site
CMSPUBLISHING#0 Publishing Site
BLANKINTERNET#0 Publishing Site
BLANKINTERNET#1 Press Releases Site
BLANKINTERNET#2 Publishing Site with Workflow
SPSNHOME#0 News Site
SPSSITES#0 Site Directory
SPSCOMMU#0 Community area template
SPSREPORTCENTER#0 Report Center
SPSPORTAL#0 Collaboration Portal
SRCHCEN#0 Search Center with Tabs
PROFILES#0 Profiles
BLANKINTERNETCONTAINER#0 Publishing Portal
SPSMSITEHOST#0 My Site Host
SRCHCENTERLITE#0 Search Center
SRCHCENTERLITE#1 Search Center