Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

my menu item in my web site its not working not call the the on menu item click action

my codes:
ASP.NET
<div>Ürünler</div>
                                </a>
                                <ul>

                                    <asp:Menu ID="mnuKategoriler" runat="server" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="0.8em" StaticSubMenuIndent="10px" OnMenuItemClick="mnuKategoriler_MenuItemClick">
                    </asp:Menu>
                                </ul>


C#
protected void mnuKategoriler_MenuItemClick(object sender, MenuEventArgs e)
        {
            string[] Degerler = e.Item.ValuePath.Split('/');
            int altkno = 0;
            if (Degerler.Length > 1)
                altkno = Convert.ToInt32(Degerler[1]);
            Response.Redirect("Products.aspx?kno=" + Degerler[0] + "&akno=" + altkno);
        }


when i try to use manu item i got the

"0x800a138f - JavaScript çalışma zamanı hatası: Tanımsız veya boş referansın 'value' özelliği ayarlanamıyor"error


how can i fix?

What I have tried:

nothing special,i trying delete rewrite etc.
Posted
Updated 4-May-16 21:26pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900