I have a simple button
<input type="submit" value="Global" onclick="Global_Click" />
that when clicked should search into a db and here is the event that it should call:
protected void Global_Click(object sender, EventArgs e)
{
FillUsers("global");
}
FillUsers
is the actual method that searches id DB.
When I click the button a JavaScript error is displayed: Global_Click is not defined!
Why is that if I am not using JavaScript? And how can I call the Global_Click
from the button?