calling event function

  • Thread starter Thread starter Gunawan
  • Start date Start date
G

Gunawan

I have define event handler call btnFind_Click
protected void btnFind_Click(object sender, EventArgs e)

{

....

}


What I want to do is calling this function from another function.
what should I do with the parameters coz I can't call this function using

btnFind_Click();

TIA
Gun
 
Instead of trying to call this function directly, have your btnFind_Click
event handler call another function. That way you can reference it from
anywhere in your page's code.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
Back
Top