Ask a Question related to ASP.NET General, Design and Development.
-
Barry Gilbert #1
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 [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Barry Gilbert Guest
-
How to display data in drilldown funcion ?
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,... -
A few starter-questions
Hi, i'm trying to learn Flash Mx this summer... And I came over e few problems that I couldnt figure out. 1. Is it posible to make a mask-layer... -
starter question
i am new to asp.net and just starting out with WebMatrix guided tour tutorial from ASP.NET. I managed to create the myfirstpage.aspx (Label, text,... -
Starter kits for ASP classic
Take a look at www.aspin.com I would expect you could get some application and analyse it. "Saranjit Singh" <saranjits@grapecity.com> wrote in... -
XP non starter????
I have the following (useless) error message - 'corrupt or missing file c:\windows\system32\config.sys ...etc' please insert recovery cd to repair....



Reply With Quote

