Thursday, December 30, 2010

Do postBack Events:

function

alert(strbilltype);

showModalDialog(
__doPostBack(
}

From otherPage:


{


Hiding Panels:




document.getElementById(pnlName).style.display =
document.getElementById(pnlName1).style.display =
document.getElementById(pnlName2).style.display =
document.getElementById(pnlName3).style.display =
document.getElementById(pnlName4).style.display =
}
function ChangePanel(index, pnlName, pnlName1, pnlName2, pnlName3, pnlName4) {if (index == 1) {"";"none";"none";"none";"none";
if (!string.IsNullOrEmpty(Request["__EVENTTARGET"]))string str = Request.Params.Get("__EVENTTARGET");
OpenAdduPopup(strbilltype) {debugger;'ABCl.aspx?qrrstring=' + a, false, 'dialogHeight:400px;dialogWidth:800px;');'IdentifiedName', '');

Wednesday, December 29, 2010

ScreptManager:

System.Web.UI.ScriptManager.RegisterStartupScript(this, typeof(string), "Showing Modalpopup", "window.open('Pagename', 'Report', 'width=800,height=400,left=350,top=200,scrollbars=yes,status=yes,resizable=yes');", true);