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 3 1035
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(Req uest.QueryStrin g["index"]);
Then you can use "Image.aspx?ind ex=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.
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.comwr ote in message
news:S8******** ******@TK2MSFTN GHUB02.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(Req uest.QueryStrin g["index"]);
Then you can use "Image.aspx?ind ex=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.
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 the following problems installing Atlas and NumPy,
as I realized that NumPy could be installed using the Mac OSX veclib already
built in. If anyone has any ideas on how to fix either of these, I would be
most grateful.
I am fairly new to Python...
|
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 archive it and
throw into the public domain, maybe others will find it useful. It is
at least a documentation of some relevant notes on the procedure.
Corrections and updates would be really appreciated. Alternatives to
automate this process...
|
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 assist?
Thanks
|
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 question is: how to use Atlas with existing pages?
Thanks
Bob
|
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 that the web.cofig file is different then a normal web app
web.config.
Do I need to add anything to the web.config file of my existing web app or no?
I have the Microsfot.Web.Atlas.dll referenced in my web app.
what else do I need to do to add...
| |
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 need to create a
specific Atlas project. But what I need is to just adapt Atlas on
existing pages, so my questions are: Can I simply add Atlas controls
like UpdatePanel on an existing web application page? If so, do I need
to adjust some kind of...
|
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 javascript, nothing really having
to do with ASP.NET...
I'm attempting to put together an application that consists of several
GridView controls each bound to some xml data. Each table exists in
its own update panel. The two effects I'm going for are:
|
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 solutions
provider to the 3PL and logistics markets, announced the release of
ATLAS BI, a state of the art business intelligence module as an
addition to Advanta's ATLAS logistics suite.
ATLAS BI comes as a result of a partnership with local business...
|
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 Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |