Clear RadComoBox when using EnableLoadOnDemand

2 posts, 0 answers
  1. Ravi Kumar
    Ravi Kumar avatar
    37 posts
    Member since:
    May 2010

    Posted 04 Aug 2010 Link to this post

    i,m using radcomobox with EnableLoadOnDemand="true".

    <pdi:PDIWebComboBox ID="cboMEStatus" runat="server" Width="100px" Height="110px"
                                                            MarkFirstMatch="true" OnClientDropDownOpening="GetItems"
                                                            EnableLoadOnDemand="true" EmptyMessage="Select" HighlightTemplatedItems="True"
                                                            OnItemsRequested="cboMEStatus_OnItemsRequested" DropDownWidth="220px">
                                                                <table style="width: 200px" cellspacing="0" cellpadding="0">
                                                                        <td style="width: 100px;">
                                                                            Status Description
                                                                        <td style="width: 80px;">
                                                                            Status ID
                                                                <table border="0" style="width: 200px" cellspacing="0" cellpadding="0">
                                                                        <td style="width: 100px;">
                                                                            <%# DataBinder.Eval(Container, "Text")%>
                                                                        <td style="width: 80px;">
                                                                            <%# DataBinder.Eval(Container, "Attributes['Employee_Status_ID']")%>

    now i,m binding radcombobox with some id coming from database and showing selected text of that id.its working fine. but my problem is "HOW TO CLEAR RADCOMOBOX"

  2. Simon
    Simon avatar
    2281 posts

    Posted 05 Aug 2010 Link to this post

    Hello Ravi Kumar,

    You can clear the Items of the RadComboBox on the client side with the following code:

    You can see how to find the client-side RadComboBox object here.

    All the best,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top