
.RadTreeView_tree_2 .rtFirst{ font-size: 12pt; font-weight: bolder; font-style: italic; }<
telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="true" PageSize="10" AllowSorting="true" ......
I bounded this grid with custom data source (from my business object) Which has god more than 10 rows. for ex. 15 rows.
Now I can see the grid has pagging. and on the first page I can view 10 records and in the second page I can see 5 records.
And in my page I have button "Read Grid Data". on this button click event I am trying to read all the 15 rows by using the foreach
ON BUTTON CLICK EVENT ....
foreach (GridDataItem item in RadGrid1.Items)
{
.... my business calculation...
}
But this RadGrid1.Items retirn only 10 rows. But I need all 15 rows. I don;t know whether this is Telerik control issue or the way I am trying to read each rows using foreach.
Please help me on this issue.
Thanks
Anand
<qsf:ConfiguratorPanel runat="server" ID="ConfigurationPanel1" Expanded="true">Protected WithEvents ConfigurationPanel1 As Global.Telerik.QuickStart.ConfiguratorPanel
function updateGrid(result)
{
var tableView = $find("<%= rgInventaires.ClientID %>").get_masterTableView();
tableView.set_dataSource(result);
tableView.dataBind();
}
protected void Page_Load(object sender, EventArgs e) { var x = this._dataItem; //x is not null, as expected } protected void Product_SelectedIndexChanged(object sender, System.EventArgs e){ var x = this._dataItem; //x is null}