Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5978063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:27:37+00:00 2026-05-22T21:27:37+00:00

We are dynamically configuring a Crystal report and when we show it in a

  • 0

We are dynamically configuring a Crystal report and when we show it in a separate window or dynamically adding reports to a C# WPF StackPanel everything is working as it should.

But when we try to add them as TabItems to a TabControl we get an exception from PresentationFramework saying:

e.Message = “Specified index is out of
range or child at index is null. Do
not call this method if
VisualChildrenCount returns zero,
indicating that the Visual has no
children.\r\nParameter name:
index\r\nActual value was 0.”

How do I avoid this crash so that we can have crystal report in our TabControl?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:27:38+00:00Added an answer on May 22, 2026 at 9:27 pm

    I’ve had the same problem when trying to put ComponentArt and Telerik controls inside of a TabControl in Silverlight. I had to make sure that I didn’t try to load any of the components with data unless the tab that was containing those controls was the active one.

    I ended up moving the initialization from the silverlight page’s load event over to some logic in the Tab Controls SelectionChanged event I believe.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Dynamically I am creating the linear layout and adding the views to linear layout
I dynamically added rows to a table but it doesn't seem to take hover
I'm dynamically loading user controls adding them to the Controls collection of the web
I'm trying to dynamically generate a report in a table where the borders are
I dynamically load HTML elements.. and used livequery() plugin to handle click events.. but
When dynamically adding includes to the entity query i.e. ObjectQuery<Address> oQuery = oAddressingEntitiesContext.Addresses.Include(StreetName); if
I am dynamically adding script tags to the DOM so I can download JSON
I'm dynamically building a WPF FlowDocument from a datasource. One of the data elements
I dynamically generate my html using the django form template everything works fine except
Dynamically I want to edit/update hosts(etc/hosts) file to add domain. To edit hosts(etc/hosts) file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.