This is a migrated thread and some comments may be shown as answers.

When i click the dropdown arrow, I see a down arrow in the end

2 Answers 64 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Nirmala
Top achievements
Rank 1
Nirmala asked on 02 Aug 2011, 06:35 PM
  Hi ,

I m using rad combo box to display some variables. Everything works fine. But when i click to drop down the list i see a down arrow at the end of list.
I don't want to display that. If i click on it, the values are getting binded again and it is double the values in the list.

Suppose, if there are 6 items in the list. If i click the down arrow then the items gets doubled. it shows 12 items in the list. 
 
Please have a look at the attached file.

This is my combo box: 
 
<telerik:RadComboBox ID="cboaction_cat_id" runat="server" Width="350px" Height="200px"   EmptyMessage="Select a Action Category" MarkFirstMatch="true"
     DataTextField ="action_category_id"  DataValueField="action_category_id" EnableLoadOnDemand="True" OnSelectedIndexChanged="cboAction_SelectedIndexChanged"
     ShowMoreResultsBox="true" EnableVirtualScrolling="true" AutoPostBack="true" OnDataBound="RadComboBox2_DataBound" OnItemDataBound="RadComboBox2_ItemDataBound"
      OnItemsRequested="RadComboBox2_ItemsRequested" OnClientItemsRequested="UpdateItemCountField"   HighlightTemplatedItems="true" >
       <HeaderTemplate>
          <ul>
              <li class="col1">Action Cat ID</li>
              <li class="col2">Action Cat Desc</li>
          </ul>
      </HeaderTemplate>
      <ItemTemplate>
          <ul>
              <li class="col1">
                  <%# DataBinder.Eval(Container.DataItem, "action_category_id")%></li>
              <li class="col2">
                  <%# DataBinder.Eval(Container.DataItem, "action_category_desc")%></li>
          </ul>
      </ItemTemplate>
       <FooterTemplate>
          A total of
          <asp:Literal runat="server" ID="Literal1" />
          items
      </FooterTemplate>
     </telerik:RadComboBox>


Thanks,

2 Answers, 1 is accepted

Sort by
0
Thad
Top achievements
Rank 2
answered on 02 Aug 2011, 06:52 PM
Hi Nirmala,

That arrow is from the property ShowMoreResultsBox.  If you remove that property the arrow will go away.

Hope that helps!
Thad
0
Nirmala
Top achievements
Rank 1
answered on 02 Aug 2011, 07:01 PM
Hi Thad,

Thanks alot. It worked .

Nimmy
Tags
ComboBox
Asked by
Nirmala
Top achievements
Rank 1
Answers by
Thad
Top achievements
Rank 2
Nirmala
Top achievements
Rank 1
Share this question
or