Hello,
I have a webform that has usercontrol (DateTimeSpan), and a "View Report" button.
What I need to do, is when the button is clicked, I need to ensure that all the fields on the DateTimeSpan usercontrol are populated before continuing.
How can I reference the controls within a usercontrol from the button's onclick event in webform.aspx.cs?
Thanks!
I have a webform that has usercontrol (DateTimeSpan), and a "View Report" button.
What I need to do, is when the button is clicked, I need to ensure that all the fields on the DateTimeSpan usercontrol are populated before continuing.
How can I reference the controls within a usercontrol from the button's onclick event in webform.aspx.cs?
Thanks!