asp.net - change radmenu click events -
hi have rad menu set in master page , has url/links added there.
i trying change 2 of radmenuitems navigation links aspx page code behind d) replace link javascript click event. e) when click fire vb.net void click event
thanks
protected sub page_load(sender object, e eventargs) dim rmenu radmenu = directcast(master.findcontrol("mymenu"), radmenu) dim d radmenuitem = directcast(rmenu.findcontrol("dogs"), radmenuitem) dim e radmenuitem = directcast(rmenu.findcontrol("cats"), radmenuitem) d.navigateurl = nothing e.navigateurl = nothing d.click = "alert('you clicked on dogs')" e.click = button1_click end sub protected sub button1_click(sender object, e eventargs) 'do cats end sub
Comments
Post a Comment