Introduction
In this article we create a Custom List property in a SharePoint List in List Settings under the "General Settings" Category.
Use the following procedure to create the sample.
In this article we create a Custom List property in a SharePoint List in List Settings under the "General Settings" Category.
Use the following procedure to create the sample.
1. Execute Visual Studio 2010; in SharePoint 2010 select "List Definition" and name it "NewTestDef".
2. Open Element.xml for editing the List Name.
2. Open Element.xml for editing the List Name.
3. Open another "Element.xml" under NewTestDef and add a "Custom Action".
4. Deploy the solutions and then check.
Cs.Code
protected void Button2_Click(object sender, EventArgs e)
{
page.ClientScript.RegisterStartupScript(owner.GetType(),
"ShowMessage", string.Format("<script type='text/javascript'>alert(‘Hello..!’)</script>");
}
Summary
In this article I would like to add a custom link to a SharePoint list settings page.
No comments:
Post a Comment