Re: Return only spfields that are filterable

2011-11-03 Thread Salman Ahmad
Hi Paul, Here is a sample you can start with. using(SPSite site = new SPSite(http://localhost;)) using (SPWeb web = site.OpenWeb()) { ListSPField fieldsList = new ListSPField(); SPFieldCollection fieldsCollection =

Re: Return only spfields that are filterable

2011-11-03 Thread Salman Ahmad
); } } Cheers, From: Salman Ahmad Sent: Thursday, November 03, 2011 11:24 AM To: ozMOSS Subject: Re: Return only spfields that are filterable Hi Paul, Here is a sample you can start with. using(SPSite site = new SPSite(http://localhost;)) using

RE: Return only spfields that are filterable

2011-11-03 Thread Paul Noone
(field); } } Cheers, From: Salman Ahmadmailto:salman.ah...@msn.com Sent: Thursday, November 03, 2011 11:24 AM To: ozMOSSmailto:ozmoss@ozmoss.com Subject: Re: Return only spfields that are filterable Hi Paul, Here is a sample you can start with. using

Re: Return only spfields that are filterable

2011-11-03 Thread Ajay
*To:* ozMOSS *Subject:* RE: Return only spfields that are filterable ** ** J Great. That’s exactly what I was after. Thank you! One more question surrounding “using”. Whenever I use using I get web part errors saying that the data has already been disposed. This usually occurs when