I want to add a webpart on page load to the application page, I want to deal with the webpart like any other control, like adding a label in the page load function, but I want to view this webpart each time I load this application page.


1 Answer 1


If your application page does not contains webpart zones then you must put on the page as webcontrols:

1.Register your namespace that your webpart resides in

2.Then add your webcontrol

Link to source

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.