If the controls are different from postback to postbck depending on what the user enters, you can try to save the html ito in a separate class where you will have static properties like
public static string WriteHTMLSubmit = ""
If not, then hardcode them in the code behind, it will be a practice ...
if(page.isPostBack){<write contrls>}
source
share