Hey everyone,
I have a radgrid,its need data source event is--
i have no columns defined otherwise in the grid definition.Also i have hided the page size dropdown and i want the size of grid to be always of 10 items and no matter how much no. of items are present in the grid.
Thanks
Amit
I have a radgrid,its need data source event is--
protected
void
RadGrid1_NeedDataSource(
object
source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
RadGrid1.DataSource = GetDataTable(
"SELECT UID, Email_TemplateName as 'Name', Mail_Text as 'Mail text',Mail_Subject as 'Mail Subject' FROM Entry"
);
}
Thanks
Amit