JSFiddle - React, Tailwind, and code Playground
by chintansoni
HTML
protected void Page_Load(object sender, EventArgs e)
{
IESetupFooter();
IESetupHeader();
}
public void IESetupFooter()
{
string strKey = "Software\\Microsoft\\Internet Explorer\\PageSetup";
bool bolWritable = true;
string strName = "footer";
object oValue = "";
RegistryKey oKey = Registry.CurrentUser.OpenSubKey(strKey, bolWritable);
Console.Write(strKey);
oKey.SetValue(strName, oValue);
oKey.Close();
}
public void IESetupHeader()
{
string strKey1 = "Software\\Microsoft\\Internet Explorer\\PageSetup";
bool bolWritable1 = true;
string strName = "header";
object oValue1 = "";
RegistryKey oKey = Registry.CurrentUser.OpenSubKey(strKey1, bolWritable1);
Console.Write(strKey1);
oKey.SetValue(strName, oValue1);
oKey.Close();
}
JavaScript
// for removing header and footer form C#