Radmenu onClientItemClicked/ing prevents itemClick

2 posts, 0 answers
  1. Karlheinz
    Karlheinz avatar
    14 posts
    Member since:
    Jul 2014

    Posted 31 Mar 2015 Link to this post

    I have a radmenu that is supposed to do two things when clicked:

    1. Call onClientClick to save radgrid content (batcheditmode) clientside, because radgrid doesnt provide serverside methode :-(
    2. Fire itemClick  (postback) to save other content

    My problem:

    onClientItemClicked / onClientItemClicking prevents that itemClick is fired.

    thanks for any help
  2. Ivan Danchev
    Ivan Danchev avatar
    837 posts

    Posted 02 Apr 2015 Link to this post


    I am afraid, I was not able to reproduce the issue. At my side all three events fire correctly:
    <script type="text/javascript">
        function OnClientItemClicking(sender, eventArgs) {
        function OnClientItemClicked(sender, eventArgs) {
    <telerik:RadMenu runat="server" AutoPostBack="true" ID="RadMenu1" ClickToOpen="False" OnItemClick="RadMenu1_ItemClick" OnClientItemClicked="OnClientItemClicked" OnClientItemClicking="OnClientItemClicking">
            <telerik:RadMenuItem runat="server" Text="Root1"></telerik:RadMenuItem>
            <telerik:RadMenuItem runat="server" Text="Root1"></telerik:RadMenuItem>

    protected void RadMenu1_ItemClick(object sender, Telerik.Web.UI.RadMenuEventArgs e)
        RadMenu1.Items[1].Text = "ChangedByServerEvent";

    Could you please check if you are getting any js errors in your browser's developer tools?

    Ivan Danchev

    See What's Next in App Development. Register for TelerikNEXT.

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top