Welcome Guest Search | Active Topics | Sign In | Register

How to intercep control Event ? Options
AirbusA330
Posted: Tuesday, September 14, 2010 12:36:02 PM
Rank: Newbie
Groups: Member

Joined: 9/13/2010
Posts: 9
Hi

I jsu discover this nice tools and by the way in verry new in ASpNet. I manage to create a Control including a Menu then placed this control on Webform All is ok the control is displayed on the page but I cant intercept the Click Event here below my small code.

Quote:

Protected Sub Menu2_ItemClick(ByVal sender As Object, ByVal e As EO.Web.NavigationItemEventArgs) Handles Menu2.ItemClick

MsgBox("OK ITEM CLICKED")

End Sub



Thank you for your Help
eo_support
Posted: Tuesday, September 14, 2010 12:44:43 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,201
Hi,

As for event handling you may want to follow some online tutorial about ASP.NET first, we will not be able to help you on those. Your syntax is right but there is no such thing as MsgBox for ASP.NET, also you want to check whether the Menu's RaisesServerEvent is set to true. By default that property is false and the menu does not raises any server event at all.

Thanks!
AirbusA330
Posted: Tuesday, September 14, 2010 1:18:17 PM
Rank: Newbie
Groups: Member

Joined: 9/13/2010
Posts: 9
Thank you Administration so much Now I have my event raises , the message Msgbox was Just to see if my event rise or not ,, Now I have to work and see which Item is clicked....

Once again thnx for your Quick Reply

Regards


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.