I have a user control that is being integrated to the page on run time, now here on the page i have a few HTML control whose values need to save too, as i have written the save method logic to the user control because it has many content their to save in DB, but what i am missing is how to save the page content to the DB using the same Save Method?
Share
If my understanding is correct, you just need to pass the values to the UC, just declare public properties in your UC and assign the values at runtime:
Check the following example:
Public properties approach
In the UC code behind
In the ASPX code behind
Accessing directly the page object
In the UC code behind