Hi,
after switching to the SP2 (2010.1.10.504) I have a lot problems using themes. When I add the Office black theme and start my application I get two errors that resources are missing (TabOffice12Shape and another one). When I add the Office 10 theme and start the application I get a System.ArgumentException "Specified resource does not exist.". This only happens when I start the application without debugging. If I use the debugger, it works fine. So I think there is a major timing problem when themes are loaded. My I solution is now to remove the Telerik controls and switch back to normal Windows Forms controls.
Martin
// Change new row position to bottom
this
.radGridView1.AddNewRowPosition = SystemRowPosition.Bottom;
// Add an event for UserAddedRow
this
.radGridView1.UserAddedRow +=
new
GridViewRowEventHandler(radGridView1_UserAddedRow);
// Event will not fire
void
radGridView1_UserAddedRow(
object
sender, GridViewRowEventArgs e)
{
throw
new
NotImplementedException();
}
private void testPrint()
{
Telerik.ReportViewer.WinForms.ReportViewer viewer = new Telerik.ReportViewer.WinForms.ReportViewer();
viewer.Print += new System.ComponentModel.CancelEventHandler(this.viewer_Print);
Report_Password report = new Report_Password();
viewer.ShowExportButton = false;
viewer.ShowHistoryButtons = false;
viewer.ShowPageNavigationControls = false;
viewer.ShowPageSetupButton = false;
viewer.ShowParametersButton = false;
viewer.ShowStopButton = false;
viewer.ShowZoom = false;
viewer.ShowRefreshButton = false;
viewer.ZoomMode = Telerik.ReportViewer.WinForms.ZoomMode.FullPage;
viewer.Dock = DockStyle.Fill;
viewer.Report = report;
}
void viewer_Print(object sender, CancelEventArgs e)
{
// Not caputred here :(
// Log to DB
}
how can i capture this?
Thank you
Volkan