D
dmalhotr2001
Hi,
I have 2 web controls:
one.ascx
two.ascx
one.ascx is embedded within two.ascx.
one.ascx has a button called clear within it. This clear button posts
back when pressed.
both these user controls are within the same aspx page.
I want to know within two.ascx when the clear button is pressed within
one.ascx. I want to know what button was pressed within one from two.
I have tried this:
Within two.ascx I've tried this in code behind:
one one_control = (one)this.FindControl("one");
I can access some of the properties now within one from two however I
want to know when the clear button is pressed within one.
How do I tell this.
Thanks

I have 2 web controls:
one.ascx
two.ascx
one.ascx is embedded within two.ascx.
one.ascx has a button called clear within it. This clear button posts
back when pressed.
both these user controls are within the same aspx page.
I want to know within two.ascx when the clear button is pressed within
one.ascx. I want to know what button was pressed within one from two.
I have tried this:
Within two.ascx I've tried this in code behind:
one one_control = (one)this.FindControl("one");
I can access some of the properties now within one from two however I
want to know when the clear button is pressed within one.
How do I tell this.
Thanks