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

sort issue when using GridTemplateColumn with HeaderTemplate

3 Answers 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chafik
Top achievements
Rank 1
Chafik asked on 11 Jul 2011, 07:28 PM
Hello ,
i have this GridTemplateColumn
<telerik:GridTemplateColumn DataField="TotalToSell" UniqueName="colAmountToSell"
                            SortExpression="TotalToSell" >



and i set it's header template to :
<asp:LinkButton ID="SortMe" CommandName="Sort" CommandArgument="TotalToSell" runat="server"
                                    Text='Amount To Sell'></asp:LinkButton>

and im using RadAjaxManager
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="grdPlanCrops">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdPlanCrops" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>



it sorts well but when pressed it shows two loading panels one for grid and other for column !
is there any way to make only 1 loading panel appears ?

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 12 Jul 2011, 01:25 PM
Hello Chafik,

Could you please send us the declaration of the RadAjaxLoadingPanel control?

Regards,
Pavlina
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Chafik
Top achievements
Rank 1
answered on 12 Jul 2011, 02:21 PM
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="16px" Width="16px" />
0
Iana Tsolova
Telerik team
answered on 14 Jul 2011, 11:23 AM
Hi Chafik,

The number of the loading panels which should appear over the updated controls on ajax request depend on the ajax settings. So if you have a setting where only one of the updated controls have LoadingPanelID specified, you should see only one loading panel. Can you confirm you do not have any other settings, added either declaratively or dynamically?

Best wishes,
Iana
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Grid
Asked by
Chafik
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Chafik
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or