Item radmenu and start function java or code behind vb

2 posts, 0 answers
  1. Fabio Cirillo
    Fabio Cirillo avatar
    181 posts
    Member since:
    Jan 2010

    Posted 19 Dec 2012 Link to this post

    i've created this radmenu:

    <telerik:RadMenu ID="RadMenu1" Runat="server" Flow="Vertical"
            <telerik:RadMenuItem runat="server" Text="load iamge profile">
            <telerik:RadMenuItem runat="server" Text="change password">
            <telerik:RadMenuItem runat="server" Text="delete account">
            <telerik:RadMenuItem IsSeparator="True" />
            <telerik:RadMenuItem runat="server" Text="Exit">

    now how do start i click on item for example Load image profile this function java?
    "openRadWindowProfile(); return false;"

    or how do start this code behind when i click on item exit?
    Protected Sub Logout_Click(sender As Object, e As System.EventArgs) Handles Logout.Click
    End Sub


  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    1968 posts

    Posted 21 Dec 2012 Link to this post


    Please find attached sample project that demonstrates very similar functionality using RadMenu OnClientClick client-side event handler.  Based on the menu item  text property different window will pop up. You can find more information about RadWindowManager client-side object properties and methods here.

    Hope that this will be helpful.

    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top