Hi,
I'd need to know which item is currently shown in the RadRotator so I implemented an AjaxRequest called from the OnClientItemShown event that calls the server and stores the currently shown item there. This itself works just fine.
However, when user clicks on anything (say on an <a href=...>) on the page too early after recent Rotator scrolling (thus my AjaxRequest is still in progress) then the following error appears:
"Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0"
Is there a way how to either hide/stop this error message, or to pass the information about currently shown Rotator item to the server in another way that doesn't interfere with too fast users? The AjaxLoadingPanel is a logical choice but would completely destroy the user experience of smooth RadRotator scrolling, I am afraid. I need the AjaxRequest to be completely running in background not bothering the user.
Thanks!
I'd need to know which item is currently shown in the RadRotator so I implemented an AjaxRequest called from the OnClientItemShown event that calls the server and stores the currently shown item there. This itself works just fine.
<
telerik:RadAjaxManager
ID
=
"ComponentSelectionPanel"
runat
=
"server"
OnAjaxRequest
=
"ComponentSelectionPanel_AjaxRequest"
><
br
><
AjaxSettings
><
br
><
telerik:AjaxSetting
AjaxControlID
=
"ComponentSelectionPanel"
><
br
><
UpdatedControls
><
br
><
telerik:AjaxUpdatedControl
ControlID
=
"ComponentSelectionPanel"
/><
br
></
UpdatedControls
><
br
></
telerik:AjaxSetting
><
br
></
AjaxSettings
><
br
></
telerik:RadAjaxManager
><
br
>
function
OnClientItemShown(sender, arg)<br>{<br><br> $find(
"<%=ComponentSelectionPanel.ClientID%>"
).ajaxRequest(componentID);<br>}<br>
However, when user clicks on anything (say on an <a href=...>) on the page too early after recent Rotator scrolling (thus my AjaxRequest is still in progress) then the following error appears:
"Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0"
Is there a way how to either hide/stop this error message, or to pass the information about currently shown Rotator item to the server in another way that doesn't interfere with too fast users? The AjaxLoadingPanel is a logical choice but would completely destroy the user experience of smooth RadRotator scrolling, I am afraid. I need the AjaxRequest to be completely running in background not bothering the user.
Thanks!