Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

BusinessDataList Web Part Edit view using code

  Asked By: Sondra    Date: Oct 12    Category: Sharepoint    Views: 1859

I am adding BDC List Web Part programmaticaly in the Sharepoint. I want to edit view using code too.
Like "Retriever items that meet these criteria" and allow Paging...I tried to do using following code...

BusinessDataListWebPart consumer = new BusinessDataListWebPart();

consumer.View.AllowPaging = true;
consumer.View.AllowUserQueries = false;
consumer.View.QueryValues = "Project1";
consumer.View.FilterValues = "PRoject1";

On msdn it says View.QueryValues Property (Microsoft.SharePoint.Portal.WebControls) and View.FilterValues Property (Microsoft.SharePoint.Portal.WebControls)
This member is reserved for internal use and is not intended to be used directly from your code.

Anyone know how to do this?



1 Answer Found

Didn't find what you were looking for? Find more on BusinessDataList Web Part Edit view using code Or get search suggestion and latest updates.