473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Can't get drill down report working...

Hi,

I'm trying to set up a drill down report with two grids, one of them inside
the other.

I've studied one book on this:
Building web solutions with asp.net and ado.net by Dino Esposito

and one article from asptoday.com

Drilldowns In DataGrids id=1986

Both of which add a new column to the first grid and within this column
another grid with the drill down report. This example Works very well.

So I have created two DataView objects with a RowFilter, one applying to the
first grid and the other applying to the second grid. And it runs perfect,
but shows the same value from grid2 beneth every record from grid1, and it
should only show grid2 upon a certain criteria, see below.

Depending on a criteria, i.e. when a column's ("M") value is 1 then no
values from the second grid should be rendered but when the value = 2 then
every value should render from the second grid.

The problem I have now is to reference the second grid from code, i.e.

grid2.Visible = "True"

The first grid is accesible from code, i.e. grid1.Visible = "True"

A piece of code...
<asp:datagrid id="grid1" runat="server"...
<Columns>
<asp:BoundColumn ....
</asp:BoundColumn>
<asp:TemplateColumn>
<ItemTemplate>
<tr>
<td colspan="21">
<asp:DataGrid id="grid2" DataSource='<%# dvRes2 %>'
runat="server" Visible="False"...
Any ideas?

TIA

Kenneth P
Nov 19 '05 #1
0 1078

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Atif | last post by:
Hi Two problem are there. 1- I am using Crystal Reports 9.0. I want to Drill Down into the CrossTab. 2- Using Sub Report into a Sub Report
4
by: pantichd | last post by:
<I also posted this on microsoft.public.vsnet.debugging 'cuz I didn't know which was more appropriate or would get quickest response> Hello, Can someone tell me how I can view the contents...
2
by: mrwoopey | last post by:
Hi, I need to be able to click onto a map and then drill down to a report. For example, could we have a map of the Chicagoland area with clickable areas (zip code) and when a user clicks on an...
0
by: jtwright | last post by:
I'm trying to create an ASP.NET page that will read over my active directory tree and show the top level OrganizationalUnit values. From there I want the user to be able to click on the top level...
0
by: adamz5 | last post by:
I am currently exporting a crystal report using code. This works fine and exports the report to a word document onto disk using DiskFileDestinationOptions() and ExportOptions However when i...
3
by: Naseem | last post by:
I am using CR in ASP.NET , I am able to show drill down graphs where grouping is done on single column from result set of sql query, is it possible to achieve drill down by grouping on multiple...
0
by: dean_wilson | last post by:
Hello, I get the following message when I try to "return to parent report", or when clicking on any application button that starts a new process, when the drill down report is displayed. ...
0
by: LieWait | last post by:
I have a simple crystal report that displays a batch number for each transaction. I want the user to be able to click on that like a hyperlink and pull the batch number in the drill event and send a...
0
by: timnels | last post by:
I have a simple crystal report that displays a batch number for each transaction. I want the user to be able to click on that like a hyperlink and pull the batch number in the drill event and send...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.