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

[Solved] Problem with RadComboBox OnItemsRequested function

2 Answers 237 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Yuri
Top achievements
Rank 1
Yuri asked on 14 Aug 2009, 12:57 PM
I have RadComboBox and asp.net Checkbox inside RadAjaxPanel in usercontrol like this:

<telerik:RadAjaxPanel ID="rapOrganization" runat="server">
    <telerik:RadComboBox ID="cboOrganizations" runat="server" ErrorMessage="aaa" EmptyMessage="No organization set" AutoPostBack="true"
        EnableLoadOnDemand="True" OnClientItemsRequesting="OnClientItemsRequesting" EnableVirtualScrolling="true"
        EnableItemCaching="true" Height="150px" OnItemsRequested="cboOrganizations_ItemsRequested"
        ShowMoreResultsBox="true" MarkFirstMatch="true" Width="250px">
    </telerik:RadComboBox>
    <asp:CheckBox ID="chkActiveOrg" runat="server" CssClass="chkStyle" Text="Active Only" Width="80" />
</telerik:RadAjaxPanel>

After text changing on server side I allways got false for checkbox value. On itemsrequest only combobox data is available, checkbox state is wrong. Is there any solution for this?

2 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 14 Aug 2009, 01:13 PM
Hello Yuri,

Check this article on how to pass information from the client to the server (ItemsRequested event).

All the best,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Yuri
Top achievements
Rank 1
answered on 14 Aug 2009, 01:58 PM
Hi Veselin,

thanks for article, it is very helpfull..

Best,
Yuri
Tags
ComboBox
Asked by
Yuri
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Yuri
Top achievements
Rank 1
Share this question
or