部分回发请求未命中服务器

时间:2014-03-13 11:43:12

标签: asp.net telerik partial-postback

此问题已经开始让我烦恼,我无法在谷歌上发表正确的问题。如果您认为上述问题仍不明确,请告诉我。

情景:

我有一个母版页,在UpdatePanel中有一个名为“Create”的LinkButton。仅供参考我在内容页面中也有RadAjaxManager。 当用户单击此链接按钮时,将触发部分回发。在服务器上进行一些处理之后,在该请求结束时注册一个脚本,该脚本启动具有不同页面的新窗口。 这个新窗口可以通过一个名为“Abort”的按钮关闭。

问题:

如果我点击LinkBut​​ton四到五次,一切正常。但是在下一次点击(第6或第7次点击)时,会触发AjaxRequest但它根本不会到达服务器。 Ajax Loading面板显示但是请求没有到达服务器,最后我收到以下错误。

Error: Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.

我无法理解到底出了什么问题。非常感谢任何人都可以给予的任何帮助或指示。

修改

注意:Fiddler也不会向erver发送任何请求。

修改

更多信息。我在IE8上工作的应用程序compat视图。当我使用分析工具时,我得到了以下的calltree。不确定这一点,但我可以看到一个被调用的abortPostback。现在我想弄清楚为什么要调用它。如果有人能给我一些关于pagerequestmanager循环如何工作的一些见解对我来说真的很好。

如果有帮助,以下是调用树。

Function
_onFormSubmit
assureControlState
append
indexOf
a
_getScrollPosition
_endPostBack
IsChildOf
OutputEncoder_EncodeHtml
_onDocumentClick
executeRequest
loadBdy
_initializeRequest
DomEvent
getElementById
_getPostBackSettings
encodeURIComponent
Object$getType
String
_isMainElementDescendant
isDescendant
_onTimeout
_getResponseHeader
_onPageRequestManagerEndRequest
Array.join
b
DomEvent
_doPostBack
String.toUpperCase
showLoadingPanels
displayLoadingElement
get_httpVerb
JScript - window script block
JScript - window script block
createErrorHTML
String.fromCharCode
_getWindow
Function$_validateParams
Function$_validateParameterCount
Math.min
Function$_validateParameter
Function$_validateParameterType
String.toLowerCase
String$startsWith
_isInstanceOfType
String.substr
String.toString
Function.call
JScript - window script block
Function.apply
_onMouseOut
_getContextMenuElement
JScript - window script block
JScript - window script block
close
get_openedItem
onfocus
_Application$findComponent
hide
_hide
JScript - window script block
get_originalText
get_element
get_dropDownElement
JScript - window script block
_clearTimer
emptyMethod
completed
_get_eventHandlerList
getHandler
_getEvent
clone
Array
_get_eventHandlerList
JScript - window script block
_onFormSubmitCompleted
_handleAsyncRedirect
Error
get_timedOut
get_webRequest
remove_completed
removeHandler
remove
isNaN
Array.splice
_onFormSubmitCompleted
_createPageRequestManagerTimeoutError
create
popStackFrame
_get_eventHandlerList
EndRequestEventArgs
initializeBase
resolveInheritance
EventArgs
endRequestHandler
get_dataItems
_serializeState
_endRequest
remove_endRequest
hideLoadingPanels
hide
format
_toFormattedString
String.indexOf
String.slice
String.charAt
String.substring
parseInt
Date
Date.valueOf
AjaxLoadingPanelEventArgs
JScript - window script block
raiseEvent
get_events
get_cancelNativeDisplay
get_animationDuration
get_response
get_aborted
RadAjaxRequestEventArgs
CancelEventArgs
String.replace
fireEvent
get_errorHandled
_getWindow
startsWith
_onFormElementClick
_onFormElementActive
contains
_createPostBackSettings
_matchesParentIDInList
JScript - window script block
_hideOnBodyClick
JScript - window script block
_uniqueIDToClientID
StringBuilder
WebRequest
encodeURI
set_url
get_headers
set_timeout
createDelegate
add_completed
EventHandlerList
addHandler
enqueue
toString
set_body
InitializeRequestEventArgs
_initializeRequest
get_postBackElement
_initializeRequest
callBaseMethod
getBaseMethod
getBaseType
getInstance
get_isInAsyncPostBack
String.split
get_cancel
_attachRequestHandlers
get_id
add_endRequest
get_request
Array.reverse
get_body
String.lastIndexOf
_showLoadingPanelsForGivenElement
get_ajaxSettings
findComponent
show
hideUpdatedElement
_showLoadingPanelsForElementsInRequestQueue
_onPageRequestManagerBeginRequest
beginRequestHandler
_validPosition
abortPostBack
BeginRequestEventArgs
_cancelPendingCallbacks
invoke
executeRequest
get_executor
eval
eval code
XMLHttpExecutor
WebRequestExecutor
set_executor
_set_webRequest
NetworkRequestEventArgs
getResolvedUrl
_resolveUrl
_onReadyStateChange
get_timeout
JScript - window script block
JScript - window script block
JScript - window script block
JScript - window script block
JScript - window script block
JScript - window script block
JScript - window script block
OutputEncoder
JScript - window script block
onload
createErrorInfo
String.charCodeAt
getShortURL
extractAllAfterChar
extractUpToChar
stripPath
OutputEncoder_EncodeXml
syncListViewControlState

修改 这并不止于烦我。我做了什么,删除了所有的ajax设置,让链接做一个完整的回发。

有趣的是,我提到的问题不仅仅是Ajax回发,而是在完整的帖子上发生同样的事情。如果我第六次单击该链接第5次请求永远不会从客户端计算机(使用fiddler跟踪),最后浏览器崩溃,标准“Internet Explorer无法显示网页”消息

0 个答案:

没有答案