İ have an radGrid and i have templateColumn inside the grid.
and there is dropdownlist in the templatecolumn.
Users can change product status over the grid by this way.
and there is code in server side when dropdown list selected index changed.
but i want to display radAjaxLoading Panel over the each dropdownControl.
i writed this. but it is not solving my issue. because loading panel appering over the all grid when user change dropdownlist value.
<telerik:GridTemplateColumn HeaderText="Durum" HeaderStyle-HorizontalAlign="Center"
HeaderStyle-Width="110px" >
<ItemTemplate>
<asp:DropDownList ID="drpProductStatus" runat="server" Width="100px" AutoPostBack="true"
OnSelectedIndexChanged="drpProductStatus_SelectedIndexChanged">
</asp:DropDownList>
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
</telerik:GridTemplateColumn>
...
and rad ajax manager code :
<telerik:AjaxSetting AjaxControlID="grid">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="grid" LoadingPanelID="alpCover" />
</UpdatedControls>
i dont want to display loading panel over the full grid. loading panel image must be place only dropdown when user affected the control.
i tried to create AjaxSeeting in itemdatabound but it works only first row of grid.
DropDownList drpProductStatus = (dataItem["PRODUCT_STATUS_NAME"].FindControl("drpProductStatus") as DropDownList);
if (drpProductStatus != null)
{
RAM.AjaxSettings.AddAjaxSetting(drpProductStatus, drpProductStatus,
this.alpCover);
}
// it works only first row.
Pls help me.