public void DownloadFile(Action printButtonClick)
{
DownloadDialogsHandler downloadFile = new DownloadDialogsHandler(Telerik.ActiveBrowser, DialogButton.SAVE, @"D:\testtest.pdf", Telerik.ActiveBrowser.Manager.Desktop);
printButtonClick();
//KeyBoardSimulator.KeyPress(Keys.Back);
downloadFile.WaitUntilHandled(Config.PageClassSettings.Default.MaxTimeoutValue * 10);
}