Monthly Archives: December 2009

Use ScriptManager to close the EP page window

Using RegisterStartupScript we can write a JavaScript function in code behind and call it from code-behind. For example,  to close a page window, we can use the following code in .cs file: protected void Button1_Click(object sender, EventArgs e){     … … Continue reading

Posted in 未分类 | Leave a comment

Use CSS style to customize Enterprise Portal 2009 page

Sometimes we are asked to customize the layout of a page. The changes are often small and don’t necessarily require a change to the site master page or css file. For example, the client requests to hide the ‘Site Action’ … Continue reading

Posted in 未分类 | 1 Comment