|
Hello guys.... ive a problem with some pictures (gifs) on a asp.net page...
The thing is that im using an imagebutton , so when I declare the button I give it an url image on my project, then if the client clicks on it, it change its image (so at first the image is halt, then after the click change it for a gif animated, so the image on the button begins to move)
The problem is that I have a automatic Javascript refresh every 20 sec, so when the page refresh, the image backs to its original state, to its original image. (halt)… no movement… so ..
Any ideas?? How the imagebutton could keep its image after the refresh….
|
|
|
|
|
Save information about the state in a hidden field, so that the code on the server side can pick it up and recreate the image button according to it.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
ok, can you give me an example plz...
|
|
|
|
|
Actually i have placed some images in a single webpage with visible="false" and i need to check it with date and month, if both matches then one image has to be visible and next time when date and month matches it has to show successive(next) image and hide the previous image. working on asp.net 2003 with vb.net
Pls help me out.
|
|
|
|
|
hi
I have a gridview with one column in a asp.net webpage .
i want to insert images(from a table)into it.but i want to insert 4 diffrent images in one row.(for making the page more suitable)
how can i do it?
|
|
|
|
|
Display image from gridview[^]
In this Article , in each row there is an image. you can add more than one Imagefiled in a single row .
And this article was from mind !!!!!
Good luck ...
|
|
|
|
|
I need to display an image of unknown size (comes from a user supplied URL) in a panel of a fixed size. If the image is small it should appear centered in the panel, if it is larger than the panel, it needs to be scaled to fit. How would I go about doing this?
|
|
|
|
|
You can set images with and height to your custum size.
Like this :
<asp:Image ID="Image1" runat="server" Height="100px" Width="100px" />
|
|
|
|
|
I don't want it to be a fixed size. I would like to scale down if needed, but not scale up. I would also like to keep the image height/width ratio.
|
|
|
|
|
|
Hi,
I desinging a custom control in asp.net. How can i give the descrition of a property as when user select the Property he can see the purpose of the properties.
I have tried with
Description["My Desc"]
public string Myprop
{
get {}
set{}
}
but it does not come to my main page while i am typing webcontrol.Mypro ..
Please Help....
|
|
|
|
|
if(confirm("are you sure")==false)
{
return false;
}
still the window is closing .i am using the onbeforeunload funciton .
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Hi Sonia! Do you find you're not getting much help?
|
|
|
|
|
Why do you keep starting new threads about the same things? Keep one question in one thread.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
i am calling the confirmation message box in the on beforeupload.i have a button there in the page also.on clicking the button , i am getting the message box invoked aqs well .y it is occuring?
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
I already answered that in your previous thread.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
hello everybody !!
could please tell me about
how to refresh drop down list without refreshing the whole page?
Thanks in Advance
Sarfarj Ahmed
|
|
|
|
|
|
hello kumar
thanks for ur reply.
is their anything i can do without using ajax?
Sarfarj Ahmed
|
|
|
|
|
hi all
i need help to write a query
I have a table with the coloumns SNo ,ProductId and brandId
SNo is given as identity true
now want to retrive a ProductID whose SNo is maximum value
thank you.
siri
|
|
|
|
|
This is the wrong forum. This should be posted on the sql forum.
Still the answer should be something like:
select sno, productid, brandid from table
where sno = (select max(sno) from table)
Hope that helps.
Ben
|
|
|
|
|
I have a weird problem, See the skelton code below, it's in page_load
if(!IsPostBack)
{
BindGridView();
}
GridView1.Columns[0].HeaderText = "Bla Bla";
This looks simple, I am not doing any extra logic in BindGridView() . Getting the data and binding it. But it's not changing the header text. But when a postback occurs, header text got changed. What is wrong here, Is gridview having any problem for changing header text immediatly after it is binded ?
|
|
|
|
|
You have to give the change text in header before BindGridView().
if(!IsPostBack)
{
GridView1.Columns[0].HeaderText = "Bla Bla";
BindGridView();
}
Best Regards
|
|
|
|
|
i have a java script confirm message box , which i am invoking at the page closing.The window is closing at both the buttons ok and cancel.y it is happening?how i can I keep the window open , ok clicking the cancel button.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|