argument types
Should i always firest try to delete function or is there some syntaxis for this cases?

A:

As usual, the fine manual is the place to go:
CREATE [ OR REPLACE ] FUNCTION

CREATE OR REPLACE FUNCTION will either create a new function, or replace an existing definition. 



Q:

Open New tab in browser

I want to open new tab in all browser. I had written the following code:
<asp:LinkButton ID="TotalRegular_LinkButton"  runat="server" Font-Underline="false"
    OnClientClick="window.open('AllMember.aspx?Index=1','new window','width=950,height=500,scrollbars=no,status=no,toolbar=no,resizable=no,location=no,menubar=no,directories=no');">
    <%# Eval("TotalRegular")%>
</asp:LinkButton>

It opens the tab in Mozilla Firefox (Win XP) but not in Windows 7. And in case of Internet Explorer, it doesn't open new tab at all. 
Any Suggestion guys where am I going wrong?

A:

Instead of new window (2nd param), use "_blank". Hopefully, this helps. 
From http://www.w3schools.com/jsref/met_win_open.asp:
<asp:LinkButton ID="TotalRegular_LinkButton"  runat="server" Font-Underline="false"
    OnClientClick="window.open('AllMember.aspx?Index=1','_blank','width=950,height=500,scrollbars=no,status=no,toolbar=no,resizable=no,location=no,menubar=no,directories=no');">
    <%# Eval("TotalRegular")%>
</asp:LinkButton>



Q:

Android Toolbar Change Menu action items dynamically

I have a Toolbar (android.support.v7.widget.Toolbar) and one Action Menu Item on it. I want to programmatically populate submenu for the menu item.
I could not find a way to do it until I set the toolbar as ActionBar by setSupportActionBar(toolbar). In this case I can modify menu items in onPrepareOptionsMenu(). Is there a way to change menu items programmatically without setSupportActionBar(toolbar)?
The only action item is inflated by toolbar.inflateMenu(R.menu.menu_main)
menu_main.xml:
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" too