How to stop asp control from posting back?

C

Charlie

Hi:

I would just like to run some java script I have added to a linkbutton's
attribute collection, but I don't want it to also post back. How do I stop
it from posting back?

Thanks,
Charlie
 
S

Steve C. Orr [MVP, MCSD]

It sounds like you should use a hyperlink, not a linkbutton.
The only real difference between the two is that the linkbutton does a
postback, so you're using the wrong control.
 

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

Staff online

Members online

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,052
Latest member
LucyCarper

Latest Threads

Top