简体   繁体   English

单击按钮时如何从radgrid获取页面记录

[英]How to get the page records from radgrid when click on button

I am using Telerik RadGrid.i bind the data (ie 10 rows) to radgrid with paging .the paging was set to 5 per page.the radgrid as Hirarchial mode. 我正在使用Telerik RadGrid.i通过分页将数据(即10行)绑定到radgrid。将分页设置为每页5个。radgrid作为Hirarchial模式。

i am get the first page records only when user click on button.which i need to send a mail.how can retrive all the data 我只有在用户单击button时才获得第一页记录。我需要发送邮件。如何检索所有数据

RadGridAllocateEmployee.AllowPaging = False
RadGridAllocateEmployee.Rebind()
        'Your code
For Each item As GridDataItem In RadGridAllocateEmployee.MasterTableView.Items
. . . . . . .
Next
RadGridAllocateEmployee.AllowPaging = True
RadGridAllocateEmployee.Rebind()

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 行双击radgrid时如何获取datakey值 - how to get datakey value when row double click radgrid 单击按钮后如何使文本从页面不可见 - how to make text to get invisible from the page after a button click 如何在单击按钮时将RadGrid的所有行一次保存到SQL数据库中,同时将其与RadGrid之外的其他数据一起保存 - How to save all the rows of RadGrid at once into SQL Database on a button click along with another data which is outside of RadGrid 从网页获取URL按钮单击 - get URL from web page button click RadGrid从项目模板按钮获取选定的行索引 - RadGrid Get Selected Row Index from Item Template Button 如何从另一个 aspx 页面获取事件控制。 按钮单击或页面加载 | ASP.NET - How to get event control from another aspx Page. button click or Page load | ASP.NET 如何在单击按钮时将文本框和复选框中的记录插入到gridview中? - How to insert records from textboxes and checkboxes into a gridview on button click? 在ASP按钮上的RadComboBox(在RadGrid内部)中搜索,然后单击 - Search in RadComboBox (inside RadGrid) on asp button click 在RadGrid中选择行Button_Click - Select Row In RadGrid Button_Click 单击按钮上“日期”列中的“年”和“月” DropDownList来过滤RadGrid数据 - Filter RadGrid data, based on YEAR and MONTH DropDownList from Date column on button click
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM