Raise Event

S

shapper

Hello,

I am creating a web user control that contains a link button.
I need to raise an event from my web control and send a argument when
the link button is clicked.

How can I do this?

Thanks,
Miguel
 
G

Guest

The Button Controls has a property called CommandArguments.
You can store your value in the same.

Inside the event method use its 1st argument to retrieve the linkbutton
object and then call CommandArguments property to get the value.

- JIGNESH
 

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

Similar Threads

Raise Event 1
Event in Web Control 1
Event 0
What is `transaction`event 0
Control Event 3
How can I hide a div using an event listener on multiple checkboxes? 6
Event 1
Bubble Event 2

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top