I binded data to radgrid using webservice but GridEditCommandColumn & GridButtonColumn click event not fire
<telerik:RadGrid runat="server" ID="RadGrid1" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" GridLines="None" OnItemCommand="RadGrid1_ItemCommand"> <MasterTableView DataKeyNames="Id" ClientDataKeyNames="Id"> <Columns> <telerik:GridBoundColumn DataField="Firstname" HeaderText="Firstname" DataType="System.String"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Lastname" HeaderText="Lastname" DataType="System.String"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Age" HeaderText="Age" DataType="System.Int32"> </telerik:GridBoundColumn> <telerik:GridButtonColumn CommandName="Delete" Text="Delete" UniqueName="DeleteColumn" ButtonType="ImageButton"> </telerik:GridButtonColumn> </Columns> <PagerStyle Mode="Slider" /> </MasterTableView> <ClientSettings> <DataBinding SelectMethod="GetSampleData" Location="Webservice/GridData.svc" SortParameterType="String"> </DataBinding> </ClientSettings></telerik:RadGrid>However when clicking on the appropriate button on a grid row the event isn't fired, basically no postback to the server is being done. A solution I found is to add the "EnablePostBackOnRowClick=true" to the ClientSettings, but this would cause a postback on each click on a row, which is not really desired.
Is there a better way to realizing this or does anybody have a hint what could be the problem??