473,508 Members | 2,361 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ATLAS Bug w/ImageURL

The only way to get a bitmap object into an image control is to set the
ImageURL to a web page that writes the object to the Output stream.

This also worked just fine for me when I put the Image control inside an
ATLAS Update Panel and used I.E. 6 to view the page. Then I.E. 7 came out
and it does not work - the image does not switch (but the aspec ratio
changes to that of the desired image). It also does not work in FireFox
1.0.7.

(I am told that it does work with I.E. 7 if it's running on a windows 2000
client!!!)

I have put an example of this problem up at
http://www.deanblakely.com/ATLASBug.aspx. where I show a simplified example
and have links to the source code.

I hope that someone can help me with this problem.

--
Regards,
Gary Blakely
Mar 2 '07 #1
3 1025
Hi Gary,

I noticed you're using Session to store the image index. I suggest you to
use QueryString to pass the image index:

int myInt = Int32.Parse(Request.QueryString["index"]);

Then you can use "Image.aspx?index=0" to use that image, no need to use
Session to pass the image index.

I've tested it on my side on Windows XP with IE7 and it works correctly for
the AJAX UpdatePanel.

I could send you a working demo project if needed.

By the way, IE7 doesn't install on Windows 2000, it requires Windows XP
Service Pack 2 (SP2), Windows XP Professional x64 Edition, Windows Server
2003 Service Pack 1 (SP1). IE7 is available in Vista.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

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

Mar 5 '07 #2
Walter,
I changed to using a querystring as you advised and it now works! But, I'm
not sure why. It seems the use of a session variable should also work, and,
it does if the user is using I.E.6. Thanks for solving this problem but do
you know why it was failing with a session variable?
--
Regards,
Gary Blakely

"Walter Wang [MSFT]" <wa****@online.microsoft.comwrote in message
news:S8**************@TK2MSFTNGHUB02.phx.gbl...
Hi Gary,

I noticed you're using Session to store the image index. I suggest you to
use QueryString to pass the image index:

int myInt = Int32.Parse(Request.QueryString["index"]);

Then you can use "Image.aspx?index=0" to use that image, no need to use
Session to pass the image index.

I've tested it on my side on Windows XP with IE7 and it works correctly
for
the AJAX UpdatePanel.

I could send you a working demo project if needed.

By the way, IE7 doesn't install on Windows 2000, it requires Windows XP
Service Pack 2 (SP2), Windows XP Professional x64 Edition, Windows Server
2003 Service Pack 1 (SP1). IE7 is available in Vista.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

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

Mar 5 '07 #3
Hi Gary,

This is probably because the Image.ImageUrl is not changed when you're
using Session to pass the image index. If you pass some QueryString to the
Image.aspx even when you're using Session, you will see the image will be
updated successfully.

Anyway, my opinion is that using QueryString here will be better.

Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

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

Mar 7 '07 #4

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

Similar topics

2
3543
by: Justin Lemkul | last post by:
Hello all, I am hoping someone out there will be able to help me. I am trying to install a program that utilizes NumPy. In installing NumPy, I realized that I was lacking Atlas. I ran into...
0
620
by: Darren L. Weber | last post by:
The following is a first attempt to almost create a shell script for installation of ATLAS and LAPACK. It does not work right now and it is specific to a particular platform. It is posted here to...
8
1527
by: Chris | last post by:
Hi, I can't seem to find any info on calling a webservice with atlas and populating a gridview with the results. All the doc shows on the atlas website is alert. Who would want to alert? Please...
2
1259
by: Bob | last post by:
Hi, I discovered the new framework 'Atlas' and i want to use it on my existing application. The problem is that on any page of my existing page, the tag <atlas: .../is not recognized. So my...
5
1876
by: igotyourdotnet | last post by:
I have a question on atlas: I can create an 'atlas project' and I can add atlas controls fine. but when I try and add an atlas control to an existing asp.net web app I can't, Why? I did notice...
3
1535
by: Robert Scheer | last post by:
Hi. I think I have some conceptual questions here. I have an asp.net web application up and running and now I intend to use Atlas on some of my pages. I have read that after installing Atlas, I...
1
3516
by: jmdolinger | last post by:
Hi all, I'm a newbie to Atlas (and recently ASP.NET) after coming from a long Java background, also have done quite a bit with an Ajax.NET/ASP.NET 1.1 project, but it was basically all...
0
1776
by: YellowFin Announcements | last post by:
Yellowfin, Powered by J2EE, Jasper, BIRT, Spring, jfreeChart Advanta releases ATLAS BI using Yellowfin Business Intelligence 3rd of August, 2007 - Advanta Software, specialist software...
0
1805
by: suganya | last post by:
Hi I have written the code for Atlas ModalPopup Control . The code is as follows <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register...
0
7223
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
7115
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
7377
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...
0
5624
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,...
1
5047
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...
0
4705
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
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...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
414
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...

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.