Image refresh

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've 2 frames. Frame 1 shows small pics. Frame 2 shows the clicked one from
Frame 1.
MY PROBLEM
The Function from Frame 1 behind a Imagebutton calls the showed one who is
placed in the Frame 2. It works fine but the picture is not changing until
I click to the refresh

public void changePicture(string MyPath)
{
Image1.ImageUrl = MyPath;
Session["MainImage"] = Image1.ImageUrl;

}

I mean, this whay to shows pictures I saw many times and it is really nice
for a
user, so I wish also to do it in my side. Maybe it is not done wish frames???

Tanks very much for reply
Greetings Patrick Marti
 
This is for ASP.NET correct? You will have to do this with Javascript on
the client side. Sorry that I don't have code samples, I don't do
javascript. <..shutter..>

Chris
 
Hallo Chris
Tanks a lot for repply
I work with MS Visual c# .Net
I think you're right that I have to do that in Javascript
Greetings
Patrick Marti

Chris said:
This is for ASP.NET correct? You will have to do this with Javascript on
the client side. Sorry that I don't have code samples, I don't do
javascript. <..shutter..>

Chris

Patrick Marti said:
I've 2 frames. Frame 1 shows small pics. Frame 2 shows the clicked one
from
Frame 1.
MY PROBLEM
The Function from Frame 1 behind a Imagebutton calls the showed one who
is
placed in the Frame 2. It works fine but the picture is not changing
until
I click to the refresh

public void changePicture(string MyPath)
{
Image1.ImageUrl = MyPath;
Session["MainImage"] = Image1.ImageUrl;

}

I mean, this whay to shows pictures I saw many times and it is really nice
for a
user, so I wish also to do it in my side. Maybe it is not done wish
frames???

Tanks very much for reply
Greetings Patrick Marti
 
Back
Top