DataValueField added as first of Multiple Columns

1 reply. Last post: November 13, 2013 12:36 AM by Bernard Xiang
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
David HillMember

Webcombo has columns

DocumentID

DocumentTitle

Confidentiality_Flag

DataTextField="StrDocID" DataValueField="DocumentID"

StrDocID is added as a first column.  How do I remove/hide it?

I copied and pasted your MutipleColumns example into my project, but the DataTextField was still added.

<ISWebCombo:WebCombo ID="WebCombo3" runat="server" DataSourceID="SqlDataSource2" DataTextField="StrDocID" DataValueField="DocumentID" Height="20px" UseDefaultStyle="True" Width="200px"> <Columns> <ISWebCombo:WebComboColumn BaseFieldName="DocumentID" HeaderText="ID" Name="ContactName" /> <ISWebCombo:WebComboColumn BaseFieldName="DocumentTitle" Name="Title" Width="200px" /> <ISWebCombo:WebComboColumn BaseFieldName="Confidentiality_Flag" Name="Confidentiality" /> </Columns> <LayoutSettings ComboMode="MultipleColumns"> </LayoutSettings> </ISWebCombo:WebCombo>
All times are GMT -5. The time now is 4:03 PM.
Previous Next