Button in column header

M

Mark Schubert

I want to put a button in a column header. How do I handle the event when
the button is clicked?
 
A

Alvin Bruney

you can either hook the event up to a handler manually
button1.click += new function goes here

or you can set the button id, and handle the itemcommand event and filter
for this unique id.
if e.item.commandname == "unique button name"
do something

roughly

regards
 

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,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top