Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have list with 9000 items ,I had created a site coloumn from this this list document id and using it in other list.
I am having problems when using the new items list since the selection box is coming with 9000 items and takes time.
How can i customize the sharepoint selection box?Filter for example last 1000 items
Posted
Comments
RoopikaS 25-Oct-10 5:35am    
List<string> ab = new List<string>();
foreach (SPField obj in web.Fields)
{

ab.Add(obj.Title);
ab.Sort();

}
foreach (string str in ab)
{
DropDownList1.Items.Add(str);
}

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900