is there a way to raise this event

G

Guest

hey all,
i have an add button inside the EmptyDataTemplate of my gridView. Is there
any way to run that event manually in the code-behind? instead of the user
actually clicking on the button itself

thanks,
rodchar
 
B

bruce barker \(sqlwork.com\)

just call the handler routine. pass the button as source, null as arg.

-- bruce (sqlwork.com)
 
G

Guest

so when you drag a button onto the designer and it's called button1 by
default, you're saying pass Me.Button1 as the button source?
 

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

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top