Hi!
I've read and read all day and I believe noone has written about how to update a for instance a label inside CommandItemTemplate client side when selecting some rows in the grid.
In my case I have
<telerik:RadGrid ID="RadGrid1" runat="server" AllowMultiRowSelection="true" >
<ClientSettings>
<Selecting AllowRowSelect="true" />
</ClientSettings>
<MasterTableView CommandItemDisplay="Top" DataKeyNames="Id" Width="100%">
<CommandItemTemplate>
<asp:Label ID="Totall" runat="server" ></asp:Label>
</CommandItemTemplate>
<Columns>
<telerik:GridBoundColumn DataField="Id" HeaderText="Id" ReadOnly="True" UniqueName="Id" Visible="false">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Amount" HeaderText="Amount" SortExpression="Amount" UniqueName="Amount" DataFormatString="{0:N2}">
<HeaderStyle Width="50px" />
</telerik:GridBoundColumn>
<telerik:GridClientSelectColumn HeaderStyle-Width="20px" ItemStyle-Width="10px" UniqueName="Select1" />
</Columns>
</MasterTableView>
</telerik:RadGrid>
How do I get the selected amounts from each row and show the total selected amount in label "Total" in the CommandItemTemplate? (and keep selected rows selected)
Thanks a million in advance and best regards.
Soren.