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

Item radmenu and start function java or code behind vb

1 Answer 76 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Fabio Cirillo
Top achievements
Rank 1
Fabio Cirillo asked on 19 Dec 2012, 02:20 PM
hi,
i've created this radmenu:




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

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
    Session.Clear()
    Session.Abandon()
    Page.Response.Redirect("indexprova.aspx")
End Sub

Bye










1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 21 Dec 2012, 04:32 PM
Hello,

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.

Regards,
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.
Tags
Menu
Asked by
Fabio Cirillo
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or