473,564 Members | 2,768 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2712
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******@newsg roups.nospamwro te in message
news:u%******** ********@TK2MSF TNGP03.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.comw rote in message
news:s1******** ******@TK2MSFTN GHUB02.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.comw rote in message
news:Ae******** ******@TK2MSFTN GHUB02.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.comw rote in message
news:6c******** ******@TK2MSFTN GHUB02.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(R esponse.OutputS tream, ImageFormat.Jpe g);

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.comw rote in message
news:6c******** ******@TK2MSFTN GHUB02.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******@newsg roups.nospamwro te in message
news:%2******** ********@TK2MSF TNGP04.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.comw rote in message
news:6c******** ******@TK2MSFTN GHUB02.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

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

Similar topics

2
4941
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 was clicked. well, i'm trying to do the same thing except with a datalist but i can't get it to work. i have a link button in my item template of my...
4
2321
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 inside ASP.NET. my questions is: having a ASP.NET AJAX page and my gridView inside an atlas:UpdatePanel control how can I update the panel so...
2
2361
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 an Update panel I then lose all control of the layout of the elemts within the panel. I also dont seem to be apble to have a vs 'panel' within an...
2
2198
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 the form load event. Why should it fire when I put a button in a update panel? Is this necessary and is only the other controls related to the...
3
8196
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 ButtonClick in UserControl doesn't fire. <asp:ScriptManager ID="ScriptManager" EnableViewState="true" runat="server" EnablePageMethods="True" >
1
4829
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 works, displaying an awesome popup, while other times, it doesn't show a popup at all, but rather just page posts back and the panel becomes visible at...
0
1655
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 error like "server enabled trace, response.write, redirected with update panel" actually i have 3 panel on cart form, i want to open payapl...
5
3085
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 copied the application to the server, setup the website, installed the ajax extensions, also loaded/enabled front end extensions so i could load the site...
1
1758
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 page in question, there is a search section in an AJAX update panel, situated on the left hand side. Upon submitting criteria and pressing a button,...
7
6640
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 tabcontainer which has 1 panel already, however I want to try create the TabPanels dynamically. I followed the advice here: ...
0
7665
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7950
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6255
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.