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

RadGrid OnItemCommand server event is not fired when I have a OnCommand client event on the radgrid ?

3 Answers 110 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Neeraj
Top achievements
Rank 1
Neeraj asked on 08 Jun 2009, 08:38 PM

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>  
 

 

3 Answers, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 09 Jun 2009, 10:24 AM
Hi Neeraj,

Please, make sure that you are using the latest service pack of the controls. This issue should have already been fixed.

Regards,
Tsvetoslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Neeraj
Top achievements
Rank 1
answered on 09 Jun 2009, 03:03 PM
My current version of the dll is 2008.3.1314.35 - is this the latest one that would solve this problem - if not could you please tell me where can I get the service pack frrom ?

thanks.
0
Princy
Top achievements
Rank 2
answered on 10 Jun 2009, 05:03 AM
Hello Neeraj,

The latest version of RadControls available is Q1 2009 SP2 (version 2009.1.527). You only have to upgrade from your version to the latest version. You may probably find the following link helpful to upgrade from an older version to a later version:
Updating RadControls for ASP.NET to another version or license

Thanks
Princy.
Tags
Grid
Asked by
Neeraj
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Neeraj
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or