We have a webpage with an ajax manager that rebinds whenever one of it's child windows closes and basically updates the page.
I've found that the rad tool tip, rttAppointments, gets displaced when it is not an updated control of the ajax manager. It contains (among other things) three controls: rsAppointments, rgUnassignedAppointments, rgMyAppointments. I'd like to refresh their data, but including them as an updated control makes them disappear entirely, and removing rttAppointments as an updated control isn't an option because the tool tip gets displaced.
How can I remedy this situation? Thanks.
Edit:
Thought of one more thing that might be relevant: the target control for rttAppointments is pnlAppointments which you'll note is also updated when a child window closes.
<
telerik:RadAjaxManager
ID
=
"ramTicket"
runat
=
"server"
DefaultLoadingPanelID
=
"ralpPrivate"
OnAjaxRequest
=
"ramTicket_AjaxRequest"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"rsAppointments"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"pnlAppointments"
UpdatePanelRenderMode
=
"Inline"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"rgUnassignedAppointments"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"rgMyAppointments"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"rgUnassignedAppointments"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"pnlAppointments"
UpdatePanelRenderMode
=
"Inline"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"rsAppointments"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"rgMyAppointments"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"ramTicket"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"panTicketList"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"panTicket"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"pnlAppointments"
UpdatePanelRenderMode
=
"Inline"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"rttAppointments"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"rgUnassignedAppointments"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"rgMyAppointments"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
// Check the subscribe function availability before we subscribe
if
(
typeof
SubscribeToWindowClose ==
"function"
) {
SubscribeToWindowClose(
"EditTicket"
, OnClose);
SubscribeToWindowClose(
"AddAppointment"
, OnClose);
SubscribeToWindowClose(
"UpdateTicketProgress"
, OnClose);
SubscribeToWindowClose(
"EditClient"
, OnClose);
SubscribeToWindowClose(
"EditSystem"
, OnClose);
//See if this works
}
// The subscribed close function for the EditTicket window
function
OnClose(sender, args) {
if
(args) grid_rowclick();
var
ramTicket = $find(
'<%= ramTicket.ClientID %>'
);
ramTicket.ajaxRequest(
'Rebind: '
+ args);
}
I've found that the rad tool tip, rttAppointments, gets displaced when it is not an updated control of the ajax manager. It contains (among other things) three controls: rsAppointments, rgUnassignedAppointments, rgMyAppointments. I'd like to refresh their data, but including them as an updated control makes them disappear entirely, and removing rttAppointments as an updated control isn't an option because the tool tip gets displaced.
How can I remedy this situation? Thanks.
Edit:
Thought of one more thing that might be relevant: the target control for rttAppointments is pnlAppointments which you'll note is also updated when a child window closes.