By Stefan Holmberg on October 6th, 2006
This is part 6of this tutorial on how to create a expandable/collapsible grouping repeater control with ASP.NET. So, please start by reading part 1.
Now lets look a little depper at the GroupingHelper class.
public class GroupingHelper
{
public GroupingHelper()
{
//
// TODO: Add constructor logic here
//
}
public DataTable SetupGroupedTable(DataTable dt, string sGroupCol)
{
[...]
By Stefan Holmberg on October 6th, 2006
This is part 6of this tutorial on how to create a expandable/collapsible grouping repeater control with ASP.NET. So, please start by reading part 1.
What happens page is loaded first time or the button Run is clicked?
We will get into detail later, but lets look at the click handler:
protected void Button1_Click(object sender, EventArgs e)
[...]
By Stefan Holmberg on October 6th, 2006
This is part 5 of this tutorial on how to create a expandable/collapsible grouping repeater control with ASP.NET. So, please start by reading part 1.
Now lets move on to the ASP.NET code. The repeater control ASPX tags looks like this:
<asp:Repeater ID="rptOrder" runat="server" OnItemDataBound="rptOrder_ItemDataBound" EnableViewState="false">
<headerTemplate>
<table id="table2" [...]
By Stefan Holmberg on October 6th, 2006
This is part 4 of this tutorial on how to create a expandable/collapsible grouping repeater control with ASP.NET. So, please start by reading part 1.
So far we have created a htmltable and added javascript collapse/expand support – and also we can swap the minus image to plus and vice versa.
So is it so we now do [...]