Interactive drill-down lets a click on a report element open a second, filtered report — all live in the viewer, without regenerating the whole document.

Handle the click. Read the clicked element's bookmark value and load a detail report filtered by it:
private void click(object sender, EventArgs e)
{
    var comp = sender as StiComponent;
    var customerID = (string)comp.BookmarkValue;
    if (customerID == null) return;

    var report = new StiReport();
    report.RegData(dataSet1);
    report.Load("Details.mrt");

    var dataBand = (StiDataBand)report.Pages["Page1"].Components["DataBand1"];
    dataBand.Filters.Add(new StiFilter("{Orders.CustomerID==\"" + customerID + "\"}"));

    report.Show();
}

How it works. The master report stays open; each drill-down builds a small filtered report on the fly, so navigation feels instant.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.