In a RadGrid, within the grid I have a clomun that shows as a checkbox. When users choose a single record, and then click Botton, in clieked events How do I know if the selected records the value of the Checkbox?
if using Microsoft Grid,correct syntax is as follows:
bool bIsLocked = ((CheckBox)GridView1.Rows[GridView1.SelectedIndex].Cells[9].Controls[0]).Checked;
But if using RadGrid,how to code?
Hi,
I'd like to use client side databinding with RadGrid Q2.2008 version. I've placed a RadGrid on page and would like to bind my data from WebService to it. I use the sample code:
| var grid = $find("<%= RadGrid1.ClientID %>"); |
| var tableView = grid.get_masterTableView(); |
| tableView.set_dataSource(results); |
| tableView.dataBind(); |
get_masterTableView returns nothing due to the fact that I don't bind any data to the RadGrid, I think. But I don't want to use server side datasource and I don't know how many columns I get from service. So I can't predefine the columns.
Has anybody an idea how to get RadGrid cooperative for that?
Thnx!


<
telerik:RadDatePicker ID="RadDue" runat="server" SelectedDate='<%# Bind("DueDate") %>' EnableTyping="false">
</telerik:RadDatePicker>
| <telerik:RadChart ID="RadChart_suivi_AO" runat="server" DataSourceID="SqlDataSource_suivi_AO" Height="400px" Width="800px"> |
| <PlotArea XAxis-AutoScale="true"> |
| <YAxis MinValue="0" Step="1"> |
| </YAxis> |
| <YAxis2 MinValue="0" Step="1"> |
| </YAxis2> |
| <XAxis DataLabelsColumn="Libelle_gestionnaire" LayoutMode="Between"> |
| <Appearance> |
| <LabelAppearance RotationAngle="90" Position-AlignedPosition="Top"> |
| </LabelAppearance> |
| </Appearance> |
| </XAxis> |
| </PlotArea> |
| <ChartTitle> |
| <TextBlock Text="Suivi des appels d'offres"> |
| </TextBlock> |
| </ChartTitle> |
| <Appearance Border-Visible="false" > |
| </Appearance> |
| </telerik:RadChart> |
