Thank Don,
WindowsFormsApplication was ok. But WebApplication, i can't do it. Because of WebApplication not support ToolStrip, ToolStripButton.
I have used for WebApplication:
protected void Page_Init(object sender, EventArgs e)
{
customizeToolbar();
}
private void customizeToolbar()
{
Control ts = CrystalreportViewer1.Controls[2];
if (ts.ToString().Contains("ViewerToolbar"))
{
Button BtnExport = new Button();
BtnExport.ID = "BtnExport";
BtnExport.ToolTip = "Export to ...";
BtnExport.Click += BtnExport_Click;
ts.Controls.Add(BtnExport);
}
}
protected void BtnExport_Click(object sender, ImageClickEventArgs e)
{
...
}
But no ok.
I hope that you can help me.