Hi,
I have a UserControl called it <pm:task> and it's in Page1.
inside <pm:task> user control, I have 3 buttons, "create task", "edit
task", "delete task".
now I want to assign this <pm:task> this way in Page1..
protected void Create_Task_Function(object sender, EventArgs e)
{
}
....
protected void Update_Task_Function(object sender, EventArgs e)
{
}
....
protected void Delete_Task_Function(object sender, EventArgs e)
{
}
<pm:task onCreateTask_Clicked="Create_Task_Function"
onEditTask_Clicked="Update_Task_Function"
onDeleteTask_Clicked="Delete_Task_Fucntion"
runat="server"
/>
How could I create the UserControl such that when the buttons are
clicked, it delegates to the approriate functions on Page1 that has
been assigned to it?
Thanks