This is a migrated thread and some comments may be shown as answers.

master page capture RadMenu web control click

1 Answer 33 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shawn Garton
Top achievements
Rank 1
Shawn Garton asked on 12 Aug 2011, 03:32 PM
What I need to do is the same as this thread, except that I have not been able to transfer the code in to VB.

http://www.telerik.com/community/forums/aspnet/grid/capture-master-page-event-on-content-page.aspx

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 16 Aug 2011, 05:55 AM
Hello Shawn,

Try the following code snippet.
VB:
Protected Sub Page_Load(sender As Object, e As EventArgs)
    Dim menu As RadMenu = DirectCast(Master.FindControl("RadMenu1"), RadMenu)
    menu.ItemClick += New RadMenuEventHandler(RadMenu1_ItemClick)
    If Not Page.IsPostBack Then
    End If
End Sub
Here is the link for converting C# to VB.

Thanks,
Princy.
Tags
General Discussions
Asked by
Shawn Garton
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or