Hi all, I have a webpage with one iframe and a button.
On Page Load event,
if (!Page.IsPostBack)
{
string sDocUrl = //some doucmen url
Iframe1.Attributes["src"] = sDocUrl;
}
When the page is reloaded (by clicking a button), this iframe is being reloaded too. This iframe has a static data and doesn't need to be reloaded everytime when I click a button. Is there a way to prevent iframe to be reloaded when webform is reloaded?