Hi there,
I have a page with RadSplitter which contains RadGrid and my custom user control (Footer) in two separate
RadPanes. I enabled ajax on the grid, but I would like to update the footer with ajax as well. In code
below I have tried inserting the footer id or the id of a panel that wraps the footer as ControlID in
AjaxUpdateControl tag. None of them worked and they even caused that the RadGrid doesn't work properly
(when I click on the next page button, it doesn't change the page, but loading icon is shown).
The footer user control contains only <%Reponse.Write(DateTime.Now);%>.
What am I missing?
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadGrid"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadGrid"
UpdatePanelHeight
=
"100%"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"***WhatShouldBeHere?***"
UpdatePanelHeight
=
"100%"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
telerik:RadSplitter
ID
=
"RadSplitter"
runat
=
"server"
Orientation
=
"Horizontal"
>
<
telerik:RadPane
ID
=
"TitleRadPane"
runat
=
"server"
Height
=
"26px"
>
<!-- ...... -->
</
telerik:RadPane
>
<
telerik:RadPane
ID
=
"ContentRadPane"
runat
=
"server"
Scrolling
=
"None"
>
<
telerik:RadGrid
ID
=
"RadGrid"
DataSourceID
=
"MasterObjectDataSource"
EnableLinqExpressions
=
"false"
OnUpdateCommand
=
"UpdateGrid"
OnInsertCommand
=
"UpdateGrid"
OnDeleteCommand
=
"DeleteItem"
runat
=
"server"
>
<
ClientSettings
>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
/>
<
Selecting
AllowRowSelect
=
"true"
/>
</
ClientSettings
>
<
MasterTableView
CommandItemDisplay
=
"Top"
AllowSorting
=
"true"
DataSourceID
=
"MasterObjectDataSource"
AllowFilteringByColumn
=
"True"
IsFilterItemExpanded
=
"False"
DataKeyNames
=
"Id"
>
<
CommandItemTemplate
>
<!-- .... -->
</
CommandItemTemplate
>
<
EditFormSettings
UserControlName
=
"AreaDetail.ascx"
EditFormType
=
"WebUserControl"
>
<
EditColumn
UniqueName
=
"DummyEditColumnUniqueName"
>
</
EditColumn
>
</
EditFormSettings
>
<
RowIndicatorColumn
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
ExpandCollapseColumn
>
<
Columns
>
<!-- .... -->
</
Columns
>
</
MasterTableView
>
<
SelectedItemStyle
Wrap
=
"True"
/>
<
SortingSettings
SortedBackColor
=
""
EnableSkinSortStyles
=
"false"
/>
</
telerik:RadGrid
>
</
telerik:RadPane
>
<
telerik:RadPane
ID
=
"FooterRadPane"
runat
=
"server"
Height
=
"100"
>
<
asp:Panel
ID
=
"FooterPanel"
runat
=
"server"
>
<
metTrade:Footer
ID
=
"Footer"
runat
=
"server"
>
</
metTrade:Footer
>
</
asp:Panel
>
</
telerik:RadPane
>
</
telerik:RadSplitter
>