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

OnItemClicked not firing inside of Datagrid

1 Answer 34 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Joseph
Top achievements
Rank 1
Joseph asked on 24 Feb 2016, 10:30 PM
I have a RADMenu inside of a ASP.NET Datagrid header temple. I can't get my event to fire
<telerik:RadMenu ID="SubmitDateContextMenu"  
                                       CollapseDelay="2000"
                                       CollapseAnimation-Type="None"
                                       ExpandDelay="200"
                                       ExpandAnimation-Type="None"
                                       DefaultGroupSettings-OffsetX="0"
                                       EnableViewState="true"
                                       runat="server"
                                       Flow="Horizontal"
                                        OnItemClick="ContextMenu_MenuItemSelected"
                                       >
                                       <Items>
                                           <telerik:RadMenuItem ImageUrl="~/images/Buttons/contextmenu_up.png" Text='SUBMISSION_DATE'
                                               meta:resourcekey="SUBMISSION_DATE">
                                               <Items>
                                                   <telerik:RadMenuItem PostBack="true" ValidateRequestMode="Disabled"
                                                       ImageUrl="~/images/Icons/sortorder_ascending.png" Text='SORT_ASCENDING'
                                                       meta:resourcekey="SORT_ASCENDING" Value="SUBMISSION_ASC"/>
                                                   <telerik:RadMenuItem PostBack="true" ValidateRequestMode="Disabled"
                                                       ImageUrl="~/images/Icons/sortorder_descending.png" Text='SORT_DESCENDING'
                                                       meta:resourcekey="SORT_DESCENDING" Value="SUBMISSION_DES"/>  
                                                    </Items>   
                                           </telerik:RadMenuItem>                                      
                                       </Items>
                                   </telerik:RadMenu>

Event:

Public Sub ContextMenu_MenuItemSelected(ByVal sender As System.Object, ByVal e As Telerik.Web.UI.RadMenuEventArgs)
 
     'save the sort order to the user's session
     QueueFilterData.PSTQueueSortID = e.Item.Value
 
     loadPSTResults()
 End Sub

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 29 Feb 2016, 09:55 AM
Hello Joseph,

I am afraid that I was unable to locally replicate the described issue. Please make sure that there are not JavaScript errors on your page, because such problematic behavior may exists if there are any js errors on your page.

If the problem still persist - isolate it in a simplified runnable sample and provide us with it, so we could examine it locally and pin down the reason for the described problematic behavior.

Regards,
Nencho
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Menu
Asked by
Joseph
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or