Hi,
I want to be able to show all records from an llblgenprodatasource. This is the code:
<asp:DropDownList ID="ddlFilterContact" runat="server" AutoPostBack="True">
<asp:ListItem Text="0" Value="0"></asp:ListItem>
<asp:ListItem Text="2"></asp:ListItem>
<asp:ListItem Text="1"></asp:ListItem>
</asp:DropDownList>
<llblgenpro:LLBLGenProDataSource ID="LLBLGenProDataSource1" runat="server" DataContainerType="EntityCollection"
EntityCollectionTypeName="DataObjects.CollectionClasses.CommunicatieCollection, DataObjects"
OnPerformSelect="LLBLGenProDataSource1_Selected" SortingMode="ClientSide">
<SelectParameters>
<asp:ControlParameter ControlID="ddlFilterContact" Name="TypeContact"
PropertyName="SelectedValue" Type="String" />
</SelectParameters>
</llblgenpro:LLBLGenProDataSource
When the filter is NULL, i want it to show all records. Just like the SqlDatasource has a ISNULL() function that can be used.
Thanks in advance for your effort.