Calling an event in asp.net

Dhruva

Member
Joined
Sep 23, 2004
Messages
12
Programming Experience
Beginner
I have two buttons on my ASP.net page. One is SEARCH button. Another is a Link button SELECT on the table.
When user hits the SELECT link button, for certain cases, the program has to perform all the statements that are in SEARCH Button process.
So for those cases I was trying to call SEARCH procedure from SELECT event where I am getting this problem.

Call Search_Click(sender, e). For this code, I am being greeted with an error saying that "Name 'sender' is not declared" . Can some one let me know what is that I need to do to get rid of this ?

Please make a note that I am an ASP.net learner.

Thanks.
Dhruva.
 

k89mmk

Member
Joined
Jun 7, 2005
Messages
6
Location
n/a
Programming Experience
3-5
Just a guess, but would this work?

VB.NET:
 Search_Click(nothing, nothing)
 
Top Bottom