Hi all.
I am having problem in rad grid export.When i export the radgrid with ignore paging to word ,excel or pdf alll record gets exported this is finr.But now when i change the page or move to other page than 1 and export grid with ignor paging it give me file with no record to display.
my button code is as follows
protected void uxBtnWord_Click(object sender, ImageClickEventArgs e)
{
try
{
if (uxRadGrid.Items.Count == 0) return;
if (uxIgnorePaging.Checked)
// uxRadGrid.PageSize = uxRadGrid.MasterTableView.VirtualItemCount;
uxRadGrid.ExportSettings.IgnorePaging = uxIgnorePaging.Checked;
uxRadGrid.ExportSettings.OpenInNewWindow = true;
uxRadGrid.ExportSettings.ExportOnlyData = true;
isExport = true;
uxRadGrid.MasterTableView.ExportToWord();
}
catch (Exception ex)
{
}
}
please help it out
I am having problem in rad grid export.When i export the radgrid with ignore paging to word ,excel or pdf alll record gets exported this is finr.But now when i change the page or move to other page than 1 and export grid with ignor paging it give me file with no record to display.
my button code is as follows
protected void uxBtnWord_Click(object sender, ImageClickEventArgs e)
{
try
{
if (uxRadGrid.Items.Count == 0) return;
if (uxIgnorePaging.Checked)
// uxRadGrid.PageSize = uxRadGrid.MasterTableView.VirtualItemCount;
uxRadGrid.ExportSettings.IgnorePaging = uxIgnorePaging.Checked;
uxRadGrid.ExportSettings.OpenInNewWindow = true;
uxRadGrid.ExportSettings.ExportOnlyData = true;
isExport = true;
uxRadGrid.MasterTableView.ExportToWord();
}
catch (Exception ex)
{
}
}
please help it out