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

Ajax Control not whole grid

2 Answers 15 Views
Grid
This is a migrated thread and some comments may be shown as answers.
SDI
Top achievements
Rank 1
SDI asked on 18 Sep 2015, 12:26 PM

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 Answers, 1 is accepted

Sort by
0
SDI
Top achievements
Rank 1
answered on 21 Sep 2015, 12:23 PM
Any help here Telerik? Does the RadGrid even support this type of function?
0
Konstantin Dikov
Telerik team
answered on 23 Sep 2015, 07:06 AM
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
Tags
Grid
Asked by
SDI
Top achievements
Rank 1
Answers by
SDI
Top achievements
Rank 1
Konstantin Dikov
Telerik team
Share this question
or