Prevent Postback with ImageButton

M

Marcelo

Hi,

I have an ImageButton which, when clicked, redirects to another page. The
problem is that page A (where the ImageButton is located) has lots of
information, but when I click the button, it redraws the header of the
table, which we'd like not to happen.
My question is: Is there any way of prevent this postback? Or, is there any
way of, in Page_Load, detect that it is happening due the click on the
button, so I could redirect it before the header drawing?

thanks in advance

marcelo
 
K

Kairi Zikpin

the button has a postback property (i forget the exact name). set that
to false to disable postback
 
M

Marcelo

I found no Postback property for ImageButton

Kairi Zikpin said:
the button has a postback property (i forget the exact name). set that
to false to disable postback
 
K

Kairi Zikpin

you are right. my bad. did not give this one due diligence.

if you are redirectng to a new page, why is a table being redrawn? on
which page is this table? i think i need some more details
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top