Rank: Newbie Groups: Member
Joined: 4/15/2009 Posts: 1
|
I've problems when I can put code in any events (client or server side), NO FIRE.
For example:
<eo:Menu ID="Menu1" runat="server" ClientSideOnItemClick="alert('hola')" ControlSkinID="Style1" Width="120px"> <TopGroup> <Items> <eo:MenuItem Text-Html="New Menu Item"> </eo:MenuItem> </Items> </TopGroup> </eo:Menu>
----------- or in aspx.vb------ Parrtial Class Default2 Inherits System.Web.UI.Page
Protected Sub Menu1_ItemClick(ByVal sender As Object, ByVal e As EO.Web.NavigationItemEventArgs) Handles Menu1.ItemClick Label1.Text = "hola" End Sub End Class
Regards.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
In order for client side event to fire, you need to give it a function name. You can not give it code or function call like "alert('hi!')".
In order for server event to fire, you need to set RaisesServerEvent to true.
Thanks
|