Here we can discuss about Sharepoint web part development.
public class TestWebPart : Microsoft.SharePoint.WebPartPages.WebPartSo property FirstName will be showed in the property grid editor with a textbox.If you have a boolean property it'll be showing as checkbox in the property grid of the web part.For enumeration it'll be DropDownlist.So it have default Tool Part behavior.But we can create custom Tool Part in web part.
{
public string FirstName{ get; set; }
protected override void Render(System.Web.UI.HtmlTextWriter htmlTextWriter)
{
base.Render(htmlTextWriter);
//Custom Render Code comes here.//
}
}
That I'll show in the next post.
0 comments:
Post a Comment