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

3 posts, 0 answers
  1. Nirmala
    Nirmala avatar
    22 posts
    Member since:
    May 2011

    Posted 02 Aug 2011 Link to this post

      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. Thad
    Thad avatar
    106 posts
    Member since:
    Sep 2010

    Posted 02 Aug 2011 Link to this post

    Hi Nirmala,

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

    Hope that helps!
    Thad
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Nirmala
    Nirmala avatar
    22 posts
    Member since:
    May 2011

    Posted 02 Aug 2011 Link to this post

    Hi Thad,

    Thanks alot. It worked .

    Nimmy
Back to Top