Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Adding a eventhandler to control

Reply
Thread Tools

Adding a eventhandler to control

 
 
Neven Klofutar
Guest
Posts: n/a
 
      06-01-2004
Hi,

How can I add an even handler to a control that is not situated on the main
page (it's situated in the repeater).
How do I rewrite this to make it work ?

Thanx, Neven

---------------------------------------------

this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding EventHandler to DropDownList programically dtarczynski ASP .Net 2 09-07-2006 07:32 PM
Adding eventhandler dynamically to usercontrol Simon Maltow ASP .Net Web Controls 2 08-03-2005 02:57 PM
Control needs roundtrip to "reaffirm" eventhandler? mawi ASP .Net 2 07-12-2004 02:07 PM
Adding Eventhandler for a Button in datagrid... in runtime? Lars Netzel ASP .Net 0 07-09-2004 10:09 AM
Adding eventhandler to control Neven Klofutar ASP .Net 1 06-01-2004 02:44 PM



Advertisments