I have a radgrid which has a OnItemCommand (server event) , when I put in the clienevent OnCommand
the server event is not being fired - any ideas why ? If I remove the clientevent - OnCommand="OnGridCommand" then everything works fine.
<telerik:RadGrid ID="gridInvLines" AllowPaging="False" Skin="Office2007" |
runat="server" AutoGenerateColumns="False" DataSourceID="odsInvLines" |
GridLines="None" OnItemEvent="gridInvLines_ItemEvent" OnItemCommand="gridInvLines_ItemCommand" OnItemDataBound="gridInvLines_ItemDataBound" ShowFooter="True"> |
<ClientSettings > |
<ClientEvents OnKeyPress="disableEnterKey" OnCommand="OnGridCommand" OnPopUpShowing="PopUpShowing" /> |
</ClientSettings> |
<MasterTableView DataKeyNames="LINE_NUMBER" DataSourceID="odsInvLines" EditMode="PopUp" InsertItemDisplay="Top" AllowAutomaticInserts="true" AllowAutomaticUpdates="true" AllowAutomaticDeletes="true" CommandItemDisplay="Top" CommandItemSettings-AddNewRecordText="Add New Line"> |
</telerik:RadGrid> |