How can I get the View Tab name on the Crystal Report Viewer at runtime?

When a report is displayed in the Windows Forms Crystal Report Viewer and the user drills into the report, the drill down view is displayed in a seperate view and is identified via a View tab at the top of the report.  I can determine the index of the view tab that is currently selected, but I need to access the text that is on the View tab.  The only properties that I've found that pertain to the "view" on the Crystal Report viewer are the ActiveViewIndex and the ViewCount.  Unfortunately, neither of these items help me because they are not specific to a certain section of the report.  Has anyone had any luck accessing the View Tab properties ?  Thanks.

The tabs at the top of the page are nested within some of the viewers controls. Through trial and error you just have to find the right one. In this case the main part of the report is in the first control. This happens to be a TabControl. From there you can loop through the TabPages on the TabControl to grab the names of the tabs.
Here is a quick example of what I did to get the tab text. All this code was in a button click event.
Control oControl = crystalReportViewer1.Controls[0];
TabControl oTabControl = (TabControl)oControl.Controls[0];
foreach (TabPage oTabPage in oTabControl.TabPages)
     MessageBox.Show(oTabPage.Text);

Similar Messages

  • How can I get Visual Studio 2010 to work with Crystal Reports?

    Hi,
    My office upgraded to Windows 7 and Visual Studio 2010 and now I can no longer write front end programs to Crystal Reports version 10.   Does anybody know if there is a a workaround?   Also, our version of Crystal Reports is 32 bit but the new desktop machine I have is 64 bit so there may be issues accessing the Crystal Reports DLLs which are now located in the Programs (x86) folder.
    It's all such a gigantic mess that I don't even know where to begin.   Visual Studio 2008 had Crystal Reports in it so it was real easy.
    Dave

    Try searching first before posting. CR for Visual Studio 2010 download is available on the OverView tab. It's a free install, we don't ship in VS now, it's still a plug in so you can't use VS 2010 Express version, MS doesn't support plugins in Express versions.
    Runtime files will be version 13 and should update your app without issues.
    Install VS 2010/2012/2013 first and then run the first link in the download page. Don't instlal just the runtime redist MSI, it will not integrate into VS.
    Also, set your Project for x86 and not any CPU and use the full .NET Framework and not the client version.
    Don

  • I found out that I have some lost contacts on my iphone 5s, they dont appear when I search but if the contact calls me I see their name. How can I get those contacts to be on the list?

    I found out that I have some lost contacts on my iphone 5s, they dont appear when I search but if the contact calls me I see their name. How can I get those contacts to be on the list?

    You could check settings > mail contacts and calandars and see if there are any accounts (like icloud gmail yahoo) listed and if they have contacts on. Its possible if contacts were synced to one of these accounts that turning them back on will recover the missing contacts.

  • How can I get my document to save with the rotated view last used?

    How can I get my document to save with the rotated view last used? 

    Possible with Adobe Acrobat, not Adobe Reader.

  • Hardware missing -AGP Graphics card. How can I get my FCE 4 working on the new computer? Cheers

    Hi I have just upgraded my computer to Mac OSX 10.6.7 now I cant open my FCE 4. Message reads, Hardware missing -AGP Graphics card. How can I get my FCE 4 working on the new computer? Cheers

    Thanks, just so I know we are talking about the same items please let me know - When you say "run Prokit" do you mean downloaded? Which I did. I dont have Prokit 4.0.1 if you are referring to that, do I need this first? Please explain what application name I am looking for if other than Prokit which is sitting in my "download folder" do I need to manually put it into the apps folder? Sorry if the questions are layman but this area is not a very strong point for me. Thanks for your help so far.

  • I used to have a Yahoo tab shown when yahoo was opened. Now it says "Getting Started" How can I get my Yahoo tab back? Thank you.

    I used to have a Yahoo tab shown when yahoo was opened. Now it says "Getting Started" How can I get my Yahoo tab back? Thank you.

    Set Yahoo as you home page, and set firefox to open the homepage when it starts. (Not to open previous pages).
    * see [[how to set the home page]] for detailed instructions <br/> all you need to do is drag the icon whilst you are on the page you require
    * see also [[options window - General panel]]

  • How can I get a count of objects in the near cache? (Extend client)

    Hi,
    I'm trying to figure out how to get the count of objects in my near cache (from c++ client). Knowing the size of the near cache is a key factor when optimizing configurations for performance.
    However if I call size() on the cache handle I get the count of objects in the cache (ie the cluster). How can I get a count of objects in the near cache?
    Thanks
    Rich Carless

    H Rich,
    It may not be ideal, but I think you may be able to infer the size by using the HeapAnalyzer (http://download.oracle.com/docs/cd/E15357_01/coh.360/e15728/classcoherence_1_1lang_1_1_heap_analyzer.html) facility, specifically the "class" based HeapAnalyzer. Its Snapshot representation http://download.oracle.com/docs/cd/E15357_01/coh.360/e15728/classcoherence_1_1lang_1_1_class_based_heap_analyzer_1_1_snapshot.html provides a mapping between class name and ClassStats (http://download.oracle.com/docs/cd/E15357_01/coh.360/e15728/classcoherence_1_1lang_1_1_class_based_heap_analyzer_1_1_class_stats.html) which provides information on how many instances of a given class type are in memory. Note the reported counts are process wide but if your key or value type are distinct you may be able to infer your answer. I realize this is rather complex, my only other suggestion would be to just make some guesses on size and see how they effect performance.
    Mark
    Oracle Coherence

  • How can I get LION to let me see the side of folders?

    How can I get LION to let me see the side of folders?
    and files? at the bottom of the window as in snow leopard.
    I miss this and rely on it to monitor the available space on the hard drives ect.

    Dov, that is close but not in the status bar but at the bottom of the volder window. Surely , everyone can't have forgotten snow leopard and leopard et al already, where you could could to display at the bottom of all ovened folders to see the status of the the files and hard drive. Boy I WISH I HAD A SCREEN SHOT OF WHAT I AM TALKING ABOUT. 
    Yes you can get the info from get info and in the list view. But we use to be able to have a line at the bottom that gave a running total, which to me was very useful as I throughput mondo files to discrete drives thoughout my network for sorting photos by topic to seperate drives.
    ah here we go a screen shot off my macbook running snow leopard, it is that grey  bar at the bottom which says "4 items 137,26 GB available",that I am wanting in the LION window bottom.

  • HOW CAN I GET A DESCRIPTION OF ALL OF THE FRATURES IN lION 10.7.4

    How can I get a description of all of the programs that came with my mac pro without spending an arm and a leg?

    This is a good place to start and follow the links to all the Mac 101 articles.
    http://www.apple.com/support/mac101/
    Regards,
    Captfred

  • One laptop died.  I have a new laptop now.  How can I get my Ipod song list on the new laptop without downloading each c.d.?

    My first laptop died.  I have a new laptop now.  How can I get my Ipod song list on the new laptop without downloading each c.d.?

    See this older post from another forum member Zevoneer covering the different ways to copy content from your iPod to your PC.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • How can I get rid of multiple pictures at the same time?

    how can I get rid of multiple pictures at the same time?

    Adobe Bridge, lightroom and your file browser (windows explorer or Mac Finder) can select multiple pictures at once and then delete. If you are looking for more than that for information, you will need to be more specific at what your doing, what OS you have, and version of software your using. If necessary post screen shots so we can see what your doing. The more information we have the more detailed of an explaination can can give back to you.

  • How can I get my POP account showing in the inbox it's supposed to show in?

    Hi-Until a couple of weeks ago all mail received from my IMAP and POP accounts would show up in the correct mailboxes in my Mail inbox list. (Only problem then was that sent mail would never show up in the sent mail folder--always stayed in the inbox.)
    Now a new problem has happened----unless I go directly to my charter cable account (P0P account) to retrieve any mail sent to that particular address, the mail goes unnoticed by Mail on my MAC and nothing shows up in the inbox. But--- If I do a test to myself , sending an email to the POP address from my IMAP account from my MAcMAil, my IMAP account will show the email in the inbox of the IMAP account I sent it from as if I'd mailed it to that account. How can I get my POP account showing in the Inbox? And, any suggestions for a fix to getting the "sent" mail to show in the "sent" folder would also be appreciated.
    Thanks!

    Control click in the tool bar area and customize.

  • HT1904 How can I get a refund for apps in the apple App Store that do not work and are not what they said they wer

    How can I get a refund for apps in the apple App Store that do not work and are not what they said they wer

    You've tried deleting and redownloading them and seeing if they then work and tried contacting the developers ? If you have and they can't/won't help then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • My iPhone is stolen. How can I get my address book back from the iCloud? I should have synchronized my iPad address book. However, I loss some recent contacts from iPhone.

    My iPhone is stolen. How can I get my address book back from the iCloud? I should have synchronized my iPad address book. However, I loss some recent contacts from iPhone.

    I use my iPad to get the address book backed up by iCloud from my iPhone. However, I cannot see the recent new contacts from my iPad. Is there anyway to check the iCloud server to see if my address book backup from my iPhone is still there?

  • I bought 3 iPhone 4s and each should have 5gb of cloud. I want to only use my one iTunes ID. How can I get this storage space increased to the 15 GB?

    I bought 3 iPhone 4s and each should have 5gb of cloud. I want to only use my one iTunes ID. How can I get this storage space increased to the 15 GB?

    iCloud storage is not allocated by device. iCloud storage is allocated to your iCloud AppleID. You get 5GB of iCloud storage.

  • How can I get my clock to remain on the correct time when starting bootcamp and windows XP? wireless option is not available.

    How can I get my clock to remain on the correct time when starting bootcamp and windows XP? wireless option is not available.

    Have a look at solutions in here https://discussions.apple.com/message/10689317#10689317
    Regards
    Stefan

Maybe you are looking for