A
Andrew Karcher
I have an aspx page which has a number of controls on it text box, button,
drop down list, etc. that cause a postback.
On my aspx page, I also have a placeholder control that loads a different
user control dynamcially based on the how the page is called.
The User Control uses a base class that inherits from UserControl and a
custom interface and adds some custom properties to each User Control. On
each user control there are also a number of controls, text boxes, drop down
lists, etc that cause a postback
What I would like to do is in the page load of my aspx page on Postback I
would like to determine whether or not the control that caused the postback
is on my aspx page or on the User Control. The reason I would like to do
this is so that I can set some of the custom properties on the User Control
so they are available to the User Control in it's Page_Load. Is that
possible or is there another way that I can accomplish this?
Thanks,
Andrew
drop down list, etc. that cause a postback.
On my aspx page, I also have a placeholder control that loads a different
user control dynamcially based on the how the page is called.
The User Control uses a base class that inherits from UserControl and a
custom interface and adds some custom properties to each User Control. On
each user control there are also a number of controls, text boxes, drop down
lists, etc that cause a postback
What I would like to do is in the page load of my aspx page on Postback I
would like to determine whether or not the control that caused the postback
is on my aspx page or on the User Control. The reason I would like to do
this is so that I can set some of the custom properties on the User Control
so they are available to the User Control in it's Page_Load. Is that
possible or is there another way that I can accomplish this?
Thanks,
Andrew