why linkbutton control ID changes on the server online?
<p>hi guys i'm using <strong>javascript</strong> to make <strong>some events based on the clicked linkbutton</strong> by using the <strong>ID of the linkbuttons</strong> here the code of my asp page</p>

<pre><code>&lt;asp:LinkButton ID="Tlbr_Item_New" runat="server" CssClass="button_big"&gt;Tlbr_Item_New&lt;/asp:LinkButton&gt;
&lt;asp:LinkButton ID="Tlbr_Item_Save" runat="server" CssClass="button_big" OnClientClick="return ToolBarClickItem(this);" &gt;Tlbr_Item_Save&lt;/asp:LinkButton&gt;
&lt;asp:LinkButton ID="Tlbr_Item_delete" runat="server" CssClass="button_big" OnClientClick="return ToolBarClickItem(this);" &gt;Tlbr_Item_delete&lt;/asp:LinkButton&gt;
&lt;asp:LinkButton ID="Tlbr_Item_Undo" runat="server" CssClass="button_big" OnClientClick="return ToolBarClickItem(this);" &gt;Tlbr_Item_Undo&lt;/asp:LinkButton&gt;
&lt;asp:LinkButton ID="Tlbr_Item_Clear" runat="server" CssClass="button_big" OnClientClick="return ToolBarClickItem(this);" &gt;Tlbr_Item_Clear&lt;/asp:LinkButton&gt;
&lt;asp:LinkButton ID="Tlbr_Item_Search" runat="server" CssClass="button_big" OnClientClick="return ToolBarClickItem(this);" &gt;Tlbr_Item_Search&lt;/asp:LinkButton&gt;
&lt;asp:LinkButton ID="Tlbr_Item_Print" runat="server" CssClass="button_big" OnClientClick="return ToolBarClickItem(this);" &gt;Tlbr_Item_Print&lt;/asp:LinkButton&gt;
&lt;asp:LinkButton ID="Tlbr_Item_Close" runat="server" CssClass="button_big" OnClientClick="return ToolBarClickItem(this);" &gt;Tlbr_Item_Close&lt;/asp:LinkButton&gt;
</code></pre>

<p><strong>and here is my javascript function</strong></p>

<pre><code>function ToolBarClickItem(Item) {
window.style = "cursor:hand;";
var bRes = true;
var sMessage = "";
var ItemID = "";
if (typeof Item == 'object')
    ItemID = Item.id;
else
    ItemID = Item;
switch (ItemID) {
    case "Tlbr_Item_New":
        if (NewButtonURL != "")
            bRes = eval(NewButtonURL);
        break;
    case "Tlbr_Item_Save":
        if (SaveButtonURL != "")
            bRes = eval(SaveButtonURL);
        if (bRes == true) {
            if (IsAnyRequiredEmpty(document.forms[0])) {
                window.alert(ErrorEmptyNotAllowed);
                bRes = false;
            }
            else
                sMessage = WarnMessageArray[ItemID];
        }
        break;
    case "Tlbr_Item_delete":
        if (DeleteButtonURL != "")
            bRes = eval(DeleteButtonURL);
        sMessage = WarnMessageArray[ItemID];
        break;
    case "Tlbr_Item_Undo":
        if (UndoButtonURL != "")
            bRes = eval(UndoButtonURL);
        sMessage = WarnMessageArray[ItemID];
        break;
    case "Tlbr_Item_Clear":
        if (ClearButtonURL != "")
            bRes = eval(ClearButtonURL);
        break;
    case "Tlbr_Item_Search":
        if (SearchButtonURL != "")
            bRes = eval(SearchButtonURL);
        break;
    case "Tlbr_Item_Print":
        if (PrintButtonURL != "")
            bRes = eval(PrintButtonURL);
        if (bRes == true &amp;&amp; bFreeSearch == false)
            if (IsAnyPrimaryEmpty(document.forms[0])) {
                window.alert('No Record To Print');
                bRes = false;
            }
            else
                CustomPrint(PrintURL);
        break;
    case "Tlbr_Item_Close":
        if (confirm('سيتم إغلاق الشاشة؟'))
            window.close();
        bRes = false;
        break;
}
if (sMessage != "" &amp;&amp; bRes == true)
    bRes = ShowAskMessage(WarnMessageArray[ItemID]);
return bRes;
</code></pre>

<p>}</p>

<p>when i test it on local IIS it works good</p>

<p>but when i publeshed it on my server which is somee.com
the linkbuttons controls changes to ctloo_Tlbr_Item_Save and it dose not working
so i do not know the problem and what is the solution</p>
