开发者

DevExpress Aspxcallbackpanel Client Side Timeout?

I've read plenty about how to handle Server-Side timeouts & errors during a Callback... but what about Client Side timeouts?

here's the example. Guy fills out a web form. Hits submit & the ASPXCallbackPanel does a PerformCallback. But right then... his internet drops or his router burps.

In my app, the Callback panel never returns control back to the Webpage.. and the callback never completes. Anybody know a Timeou开发者_开发百科t settings on the Client side? or a way to abort a callback through Javascript?

thanks


If I were you, I would start a timer everytime a callback is sent to the server and refresh the page when the timer ticks. If the callback returns earlier, the timer should be stopped. This can be easily done using the ASPxGlobalEvents control.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜