开发者

MenuItemClick Event Not firing

I am using asp:me开发者_JAVA百科nu.In this asp menu,on clicking menu item,I want to get the menuitem,and its parent.I tried to use menuitemclick event. But menuitemclick event is not firing on clicking menu item.Can any body help?


Most times I see an asp.netter claiming that events aren't firing it's usually because they're re-binding the control every postback. For example they don't have:

if(!IsPostBack){

    //... Bind control ...

} 

In the PageLoad event which always fires before command events within controls.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜