Crash893
Mar 14th, 2007, 11:41 PM
I am trying to create a drag and drop option for my crystal report viewer
question1
should i be creating the dragdrop event on the from or the viewer or both
question2
for example ill just be useing the viewer
currently im useing
private void crystalReportViewer1_DragOver(object sender, DragEventArgs e)
{
try
{
crystalReportViewer1.ReportSource = e.Data;
}
catch
{
MessageBox.Show("hi");
}
}
but im missing something becuase this isnt even fireing when i drag something over or drag and drop
any suggestions
thanks
question1
should i be creating the dragdrop event on the from or the viewer or both
question2
for example ill just be useing the viewer
currently im useing
private void crystalReportViewer1_DragOver(object sender, DragEventArgs e)
{
try
{
crystalReportViewer1.ReportSource = e.Data;
}
catch
{
MessageBox.Show("hi");
}
}
but im missing something becuase this isnt even fireing when i drag something over or drag and drop
any suggestions
thanks