Ajax Control not whole grid

3 posts, 0 answers
  1. SDI
    SDI avatar
    107 posts
    Member since:
    Nov 2011

    Posted 18 Sep 2015 Link to this post

    Hi Telerik,

     

    We have a grid with an ItemTemplate code that contains a RadComboBox

    <telerik:RadComboBox runat="server" ID="RadComboBoxEventNotAttending" Width="155px" CheckBoxes="true" DropDownAutoWidth="Enabled" AutoPostBack="true" EmptyMessage="Select Not Attending" EnableCheckAllItemsCheckBox="true"
        OnItemChecked="RadComboBoxEventNotAttending_ItemChecked" OnCheckAllCheck="RadComboBoxEventNotAttending_CheckAllCheck" OnDataBinding="RadComboBoxEventNotAttending_DataBinding"
        Label='<%# Eval("EventSubId")%>' LabelCssClass="myLabelHide" >
        <Localization AllItemsCheckedString="Family not attending" CheckAllString="Select All" ItemsCheckedString="Member(s) not attending" />
        <CollapseAnimation Type="InExpo" />
        <ExpandAnimation Type="OutExpo" />
        <HeaderTemplate>
            <asp:Label runat="server" Font-Size="8" Text="Not Attending" />
        </HeaderTemplate>
    </telerik:RadComboBox>
     

    Every Item for the grid could have different drop down items and checks for their respective repeating RadComboBoxes depending on the scenario, which is all handled fine with the OnDataBinding for each record in the grid datasource. When the user checks an item in the dropdown it does a whole postback for the grid. We would like it to only do a postback for the RadComboBox and show a LoadingPanel around the RadComboBox itself instead of showing around the grid.

    Our grid is wrapped in a ASP Panel and is used in the RadAjaxManager. The RadComboBox could be wrapped in a ASP Panel and used the same way. We are not sure this is possible for it to be used inside a grid like this.

    Could you supply some information or some code snippet for this type of situation?

    Thanks!!!

     

  2. SDI
    SDI avatar
    107 posts
    Member since:
    Nov 2011

    Posted 21 Sep 2015 Link to this post

    Any help here Telerik? Does the RadGrid even support this type of function?
  3. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2466 posts

    Posted 23 Sep 2015 Link to this post

    Hello,

    I would like to start by saying that nesting AJAX settings is not supported scenario and could cause numerous problems, so if you have enabled AJAX for your RadGrid, it is not supported to enable the AJAX for the inner RadComboBox control.

    Nevertheless, if you prefer to enable the AJAX only for your RadComboBox controls and remove the AJAX for RadGrid, you can use the approach from the following help article:

    Best Regards,
    Konstantin Dikov
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top