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
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