I have two buttons, preview and Save. With help of preview button user can view the data based on the format and then can save.
But when preview is clicked, one text
form1.Action = Request.RawUrl;
Write this code on page load then page is not post back on button click