I was wondering if anyone has figured out the following
I have 4 items that have to be able to be refreshed from the Ajax manager control itself.
<
telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="pnlOrganizationMeta" />
<telerik:AjaxUpdatedControl ControlID="pnlOrganizationList" />
<telerik:AjaxUpdatedControl ControlID="pnlProjectList" />
<telerik:AjaxUpdatedControl ControlID="pnlStakeholderList" />
</UpdatedControls>
</telerik:AjaxSetting>
<
telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function refreshGrid(arg) {
if (arg != null) {
$find(
"<%= RadAjaxManager1.ClientID %>").ajaxRequest(arg);
}
}
</script>
</telerik:RadCodeBlock>
I am using Javascript to get the results of a radwindow close event. currently all of the items show the loading panel even though only one of them is actually being updated. Is there any way I could dynamically choose which one is updated or at least only show the loading panel for that one. With the older versions of the Telerik suite we would have multiple Ajax Managers on the page and control which one was updated depending on the argument passed to the Javascript. With the new version you can only have one AjaxManager on the page.
Thanks
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function refreshGrid(arg) {
if (arg != 'pnlOrganizationMeta') {
$find(
"<%= RadAjaxManager1.ClientID %>").ajaxRequest(arg);
}
if (arg != 'pnlProjectList') {
$find(
"<%= RadAjaxManager2.ClientID %>").ajaxRequest(arg);
}
}
</script>
</telerik:RadCodeBlock>
<
telerik:RadDataPager
ID
=
"uiDataPager1"
runat
=
"server"
PagedControlID
=
"uiSearchResults"
PageSize
=
"10"
Visible='<%# Container.PageCount != 1%>'
>
<
div
id
=
"ctl00_MainContent_uiSearchResults_uiDataPager1"
class
=
"RadDataPager RadDataPager_Default"
>
<
input
type
=
"hidden"
name
=
"ctl00_MainContent_uiSearchResults_uiDataPager1_ClientState"
id
=
"ctl00_MainContent_uiSearchResults_uiDataPager1_ClientState"
autocomplete
=
"off"
>
</
div
>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
|