SharePoint Developer Center > SharePoint Products and Technologies Forums > SharePoint - Business Data Catalog > Business Data List with Filter -> Clear the Business Data Related List after Retrieve Data
Ask a questionAsk a question
 

QuestionBusiness Data List with Filter -> Clear the Business Data Related List after Retrieve Data

  • Friday, October 30, 2009 2:09 PMshere Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi

    I have a business data list with our customers. On the top part of the business data list the user can filter the entries with a textbox and then "retrieve data" (There are FilterDescriptors defined for the customer-entity).
    After that the list with the filtered customers is displayed and the user can select a customer with the radiobutton in the first row.
    Then an business data related list with the products of this customers will be filled.

    So, everything works fine. But now the user searches another customer in the business data item list filter box. After clicking the "retrieve data" button the new customer list which matches the new filter value is provided by the webpart and there's no customer selected (all radiobuttons are unselected).

    But the related list shows still the products of the customer who was selected before.

    Is there a way to clear the related list when the user starts a new search?

    I've tried to clear the dvt_1_form_selectkey when a new search is initiated. But I can't really customize the search of the business data list in the xsl-file. There's only an asp:Placeholder with the id "SearchTable". The things inside this placeholder will be overrided during runtime and I don't know where the search box is coming from.

    Thanks in advance.

    Jérôme Matter