473,399 Members | 3,106 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

AJAX Update Panel w I.E.7 Problem

I have an UpdatePanel on one of my aspx pages with a ListBox, Image, and a
TextBox inside it. When an item is selected in the list box my codebehind
file displays a new picture in the image and new text in the TextBox. It
works wonderful in I.E. 6. No Postback - no extra code.

BUT... It does not work right in I.E. 7 (nor FireFox 2.0). The textbox
refreshes but the image does not refresh (however the aspect ratio of the
picture does change according to the newly selected picture.)

You can see this work with I.E.6 or fail with I.E.7 at
http://www.deanblakely.com/FamilyPhoto.aspx

What can be causing this failure in the I.E. 7 and FireFox 2.0 browsers?

--
Regards,
Gary Blakely
Dec 4 '06 #1
10 2703
Some possible idea. If your pictures are pulling their filenames from the
listbox directly, the listbox values aren't properly formatted since they
have spaces in them, which is illegal. For example: 05-2003 memphis 034.jpg
is not a valid filename. 05-2003%20memphis%20034.jpg is valid. Make sure
that you're performing UrlEncoding on them. I've heard some issues with this
and IE 7 whereas IE 6 was more forgiving and did a lot of auto-correcting.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006


"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:u%****************@TK2MSFTNGP03.phx.gbl...
>I have an UpdatePanel on one of my aspx pages with a ListBox, Image, and a
TextBox inside it. When an item is selected in the list box my codebehind
file displays a new picture in the image and new text in the TextBox. It
works wonderful in I.E. 6. No Postback - no extra code.

BUT... It does not work right in I.E. 7 (nor FireFox 2.0). The textbox
refreshes but the image does not refresh (however the aspect ratio of the
picture does change according to the newly selected picture.)

You can see this work with I.E.6 or fail with I.E.7 at
http://www.deanblakely.com/FamilyPhoto.aspx

What can be causing this failure in the I.E. 7 and FireFox 2.0 browsers?

--
Regards,
Gary Blakely


Dec 4 '06 #2
Hello Gary,

I have just visited teh web link you provided and it seems when I select a
certain image(name) in the ListBox(in updatepanel), the image control
correctly displays the selected image) together with the refreshing of the
textbox. I am using IE 7 on a windows 2k3 box. Is there any other
particular factors in your test environment that can cause the behavior?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 4 '06 #3
Steven,
hmmm, with me and others that use the site it always fails with I.E.7 and
works with I.E.6. all of us are likely using XP.
When I access it now with I.E.6 it's from a VMWare Server 2003 image.
This complicates things. Maybe there is something to Mark FitzPatrick's
post?
Gary

"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:s1**************@TK2MSFTNGHUB02.phx.gbl...
Hello Gary,

I have just visited teh web link you provided and it seems when I select a
certain image(name) in the ListBox(in updatepanel), the image control
correctly displays the selected image) together with the refreshing of the
textbox. I am using IE 7 on a windows 2k3 box. Is there any other
particular factors in your test environment that can cause the behavior?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no
rights.

Dec 4 '06 #4
Hello Gary,

Have you got an progress on this issue? Based on my former test, it seems
the image can display well when I select items in the listbox. Is there
anything else that cause the problem?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 6 '06 #5
I'm working this real part time now but now that I know it works for you in
I.E. 7, I don't know what to think.
--
Regards,
Gary Blakely
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:Ae**************@TK2MSFTNGHUB02.phx.gbl...
Hello Gary,

Have you got an progress on this issue? Based on my former test, it seems
the image can display well when I select items in the listbox. Is there
anything else that cause the problem?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.

Dec 6 '06 #6
Thanks for your reply Gary,

I've just performed some further research. It seems the problem also
related to the operating system. In previous message, I said that I tested
the page you provided on windows 2003/IE7 with no problem. However, when
tested on windows xp sp2/IE7 it seems can not swtich pictures when i swtich
selected items in the listbox. Did you encounter the same behavior?
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 7 '06 #7
Steven:
Wow! Is there an Atlas forum somewhere? Maybe I need to take this problem
to a more specialized forum?
thanks,
Gary

--
Regards,
Gary Blakely
Dean Blakely & Associates
www.deanblakely.com
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:6c**************@TK2MSFTNGHUB02.phx.gbl...
Thanks for your reply Gary,

I've just performed some further research. It seems the problem also
related to the operating system. In previous message, I said that I tested
the page you provided on windows 2003/IE7 with no problem. However, when
tested on windows xp sp2/IE7 it seems can not swtich pictures when i
swtich
selected items in the listbox. Did you encounter the same behavior?
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.

Dec 9 '06 #8
Steven:
I removed the Atlas Updatepanel and the picture changes with I.E.7 on XP so
it's an definitely an Atlas issue.

by the way...
I'm using an image control with ImageURL set to image.aspx.
In image.aspx I have the picture in myBitmap which is a
system.drawing.bitmap
I put the picture in the image by doing:
myBitmap.Save(Response.OutputStream, ImageFormat.Jpeg);

Can you envision any reason this might not work in an Atlas - XP - I.E.7
environment Only?

--
Regards,
Gary Blakely

"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:6c**************@TK2MSFTNGHUB02.phx.gbl...
Thanks for your reply Gary,

I've just performed some further research. It seems the problem also
related to the operating system. In previous message, I said that I tested
the page you provided on windows 2003/IE7 with no problem. However, when
tested on windows xp sp2/IE7 it seems can not swtich pictures when i
swtich
selected items in the listbox. Did you encounter the same behavior?
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.

Dec 9 '06 #9
Gary,

try one of these 4 Ajax forums :

Getting Started:
http://forums.asp.net/1007/ShowForum.aspx

UI-related issues :
http://forums.asp.net/1008/ShowForum.aspx

Networking and Web Services:
http://forums.asp.net/1009/ShowForum.aspx

Control Toolkit :
http://forums.asp.net/1022/ShowForum.aspx

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Steven:
Wow! Is there an Atlas forum somewhere? Maybe I need to take this problem to a more specialized
forum?
thanks,
Gary

--
Regards,
Gary Blakely
Dean Blakely & Associates
www.deanblakely.com
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:6c**************@TK2MSFTNGHUB02.phx.gbl...
>Thanks for your reply Gary,

I've just performed some further research. It seems the problem also
related to the operating system. In previous message, I said that I tested
the page you provided on windows 2003/IE7 with no problem. However, when
tested on windows xp sp2/IE7 it seems can not swtich pictures when i swtich
selected items in the listbox. Did you encounter the same behavior?
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.


Dec 9 '06 #10

Thanks for your followup Gary,

So if the pictures are all referenced as static files on disk(such as
myimage.jpg or myimage.gif...), it will work and the problem only occurs
when you use a aspx page or handler to output the image stream?

If your image.aspx's code is correct, I can't get anything that could cause
the problem. Would you also provide me the code logic of your image.aspx
page?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 12 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: rodchar | last post by:
hey all, i saw an update panel example one time where they put a button outside the update panel and a textbox inside the panel and setup a trigger on the update panel to update when the button...
4
by: Bruno Alexandre | last post by:
Hi guys, I have this page that needs to be populated with 2 diferent web services, and each one takes more or less 10 seconds to finish populate his own part, so I move on to the multi threading...
2
by: DanWeaver | last post by:
I have a page where layout of buttons and listboxes etc is important - I would like to make use of Ajax Update panel to asynchronously update various part of the page- in Vis studio whenever I use...
2
by: =?Utf-8?B?VG9u?= | last post by:
Hello, I want to understand teh benefits of ajax technology. Does anyone has a good website where AJAX EXTENSIONS is worked out so I really understand it. There a 2 main questions: 1) How about...
3
by: JacekDr | last post by:
Hello, I've got the following problem: I want to add and remove dynamically controls to UpdatePanel. In my user control I have a button, but when I click it I get AsyncPostback and Event for...
1
by: mbruyns | last post by:
i have been trying (and sometimes succeeding) to use the modalpopupextender to show various panels of controls on my asp pages. the strange problem that i keep on running into is that sometimes it...
0
by: nityaprashant | last post by:
hello.. i used ajax update panel in my cart form now i want to use paypal button for redirect online transaction because of ajax update panel round trip is not possible.. so paypal button gives...
5
by: simon | last post by:
hello, I have a server set up on my local (home) network and can not get an ajax application to run on the box. it works fine on our developement server and also works fine locally. I...
1
by: db007 | last post by:
Hi, I have a problem with a current project and the scroll position. I have an AJAX enabled website using Visual Studio 2005 and ASP.Net 2.0. The project also uses masterpages. On the...
7
by: RichB | last post by:
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am trying to add a tabbed control to the page. I have no problems within the aspx file, and can dynamically manipulate a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.