I'm having some issues getting an AjaxPanel to update.
On my content page, I have 2 user controls wrapped in an AjaxPanel:
<
telerik:RadAjaxPanel
ID
=
"AjaxPanel1"
runat
=
"server"
OnAjaxRequest
=
"RadAjaxPanel1_AjaxRequest"
>
<
div
class
=
"row"
>
<
div
>
<
div
class
=
"col-md-6"
>
<
uc1:TView
runat
=
"server"
ID
=
"TView"
/>
</
div
>
<
div
class
=
"col-md-6"
>
<
uc1:ProControl
runat
=
"server"
ID
=
"ProcView"
/>
</
div
>
</
div
>
</
div
>
</
telerik:RadAjaxPanel
>
In my user control, I have a link that opens a fairly simple RadWindow via JS
<
telerik:RadWindow
ID
=
"WinPView"
runat
=
"server"
Width
=
"700px"
Height
=
"732px"
ReloadOnShow
=
"true"
OnClientClose
=
"closeWithAlert"
CssClass
=
""
skin
=
"Sunset"
Behaviors
=
"Close"
Modal
=
"True"
EnableViewState
=
"true"
VisibleTitlebar
=
"false"
VisibleStatusbar
=
"false"
>
</
telerik:RadWindow
>
When the window is closing, I pass some data back to my content page JS asks the panel to update
'// JS
function invokeAjaxrequest() {
$find("<%= AjaxPanel1.ClientID%>").ajaxRequest();
}
'// Code Behind
Protected Sub RadAjaxPanel1_AjaxRequest(sender As Object, e As AjaxRequestEventArgs)
PView.UpdateData()
TView.UpdateData()
End If
End Sub
In that JS function I ask the AjaxPanel to update. It appears to only work sometimes. Suggestions to troubleshoot this? I seem to be able to hit the breakpoint so i know the JS request to update is hitting, however the UI is not refreshing, thus for some reason the ajaxpanel is not updating the content. Ive adjusted the maxqueue size as well.