473,396 Members | 2,020 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,396 software developers and data experts.

Drilldown starter kit question

Hi,

I'm working with the drill-down report from the Reports starter kit.
I've gotten stuck on the 2nd-level datalist. When I drill-down to this
level, the datasource function call is firing and my dataset is getting
populated from the db correctly, but nothing is displayed in the
datalist. Am I missing something about the datalist config? Here's a
snip:

<asp:datalist BorderWidth="3" id="BatchDetail" runat="server"
DataSource='<%# GetBatchDetail(DataBinder.Eval(Container.DataItem,
"Batch")) %>' RepeatDirection="Vertical" repeatcolumns="1" Width="100%"
CellPadding="0" cellspacing="0" OnItemCommand="BatchDetail_ItemCommand"
BorderColor="#ff0033" Visible="true">

Protected Sub BatchDetail_ItemCommand(ByVal Sender As Object, ByVal e As
DataListCommandEventArgs)
Dim cmd As String = CType(e.CommandSource, LinkButton).CommandName
Dim senderlist As DataList = CType(Sender, DataList)
If cmd = "select" Then
senderlist.SelectedIndex = e.Item.ItemIndex
End If
senderlist.DataSource = GetBatchDetail(CStr(ViewState(_batch)))
senderlist.DataBind()
End Sub

Protected Function GetBatchDetail(ByVal batch As Int32) As
TechStyle.Reports.Components.DrillDownReportCollec tion
Return Reports.Components.DrillDownReport.GetBatchDetail( batch)
End Function

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #1
0 1216

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

Similar topics

1
by: Bob | last post by:
I'm looking at the docs in VS2005 regarding starter kits and I noticed that the starter kits to download from the site are in vsi files (compressed), all except the shareware starter kit. MS docs...
4
by: Nabil | last post by:
I have to create a report with drill down and I can only think of crosstab report to achieve this task. However 2 things I am lacking, first is I dont know how to enable drill-down on cross tab...
0
by: VB Programmer | last post by:
I installed IBuySpy ECommerce app and customized an ecommerce site. Now I want to make a 2nd ECommerce app, based on the Starter Kit. But, when I run Setup it asks if I want to repair or...
3
by: eridgway | last post by:
Hello, Been working on a project using the Portal Starter Kit. Just about ready to "go-live" when the bossman asks me "how safe is it". A vague question at best, I know, but here's what I'd like...
1
by: kelvinweb | last post by:
Hi All, I try to read different sample codes for drilldown function. But I don't understand what does it say. I don't know how to using (Nested, Hierarchical) data control to display data. Do...
0
by: Rahul Patel | last post by:
i had create one report with subreport and section with drilldown. the subreport is display on user click event i.e on demand subreport. now while i can the subreport in crystal viewer but while...
0
by: Li Pang | last post by:
Hi, I made a main report, and I want to drilldown a field in the report to get a subreport in the runtime. Anybody has sample codes or links on such topic? Thanks in advance
4
by: rpm | last post by:
I have started using Personal Site Starter Kit with Visual Web Developer 2005. I realized that for the photo gallery portion, I can have an album set to be public or not. And if I set it not to be...
1
by: oldgent | last post by:
I am having a problem installing the starter kits. I have reinstalled VS 2005, think that might be the problem. I then installed both 'Personal Website" and the "Club Website" starter kits. I...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.