Override User control events

Mar 23 2007 11:15 AM
Hello, I have an aspx page and a Usercontrol. In the user control i created  a treeview with data. In the usercontrol there is an event callin OnSelectedNodeChanged.

protected void trvEventTree_OnSelectedNodeChanged(object sender, EventArgs e)

{

txtEventGroupId.Text = ((System.Web.UI.WebControls.TreeView)sender).SelectedNode.Value;

ParentPage.UpdateWindow();

}


Is it possible i can override that event from the aspx page? How can it be done?


Thanks