-
January 24th, 2011, 04:18 AM
#1
UpdatePanel and network problems
Hi guys,
In my webapp I'm using several UpdatePanel controls. Today I noticed that if there's no network connection, I doesn't do anything. If you hit a button inside the panel, the page doesn't refresh (offcourse), but it would be great if some kind of error would be shown.
Is there any way to achieve this? Because now users think that the button isn't working..
-
January 24th, 2011, 12:27 PM
#2
Re: UpdatePanel and network problems
Originally Posted by dannystommen
Hi guys,
In my webapp I'm using several UpdatePanel controls. Today I noticed that if there's no network connection, I doesn't do anything. If you hit a button inside the panel, the page doesn't refresh (offcourse), but it would be great if some kind of error would be shown.
Is there any way to achieve this? Because now users think that the button isn't working..
I didn't get fairly what is your issue; but what problem to launch Fiddler and look at server response? Or if this error occasioned on dev machine catch one in global.asax
No miracles
-
January 24th, 2011, 01:04 PM
#3
Re: UpdatePanel and network problems
Well, the problem is dat a collegeau had a problem while try to use the search button. She said "I kept trying to click the search button, but it didn't result in anything"... She had that problem at home, but it's the same laptop as she is using at work.
I don't have any logical explanation for it. The only thing I had in mind was that she had some connection problems.
I tried to reproduce the issue doing the following:
- I started my website in VS2010 in IE (default browser).
- Next I opened the same page in FF.
- Then I stopped the VS2010 Webserver (not stopping in VS2010, but right click the webserver in the bottom right-corner.
-When I now click the search button, I got exactly the same result she told me, nothing happend..
In this case the 'webserver' is offline, but I believe this is the same behaviour when the internet connection is down.
So, something like 'unable to connect to server' would be nice if something like this is happingen instead of doing 'nothing'. If the button wouldn't be in an update panel, the browser would show ' Internet Explorer cannot display the webpage '.
I hope clarifacation helps..
-
January 25th, 2011, 02:09 AM
#4
Re: UpdatePanel and network problems
Launch Fiddler and look at a server response
-
January 25th, 2011, 03:10 AM
#5
Re: UpdatePanel and network problems
Yes, I'll try Fiddler to see the response.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|