Hi
I have a grid where i actually have two lines where i show some totals. Currently i have solved it using the code below.
However this simply doesnt give the same look as it would if it was actually two footer lines.
Is it possible to create another footer ?
I have a grid where i actually have two lines where i show some totals. Currently i have solved it using the code below.
However this simply doesnt give the same look as it would if it was actually two footer lines.
Is it possible to create another footer ?
gridFooterItem["pr"].Controls.Add(getTable("FirstText","SecondText")); |
private Panel getTable(string s1, string s2) |
{ |
Panel mTemp = new Panel(); |
mTemp.Controls.Add(new Label() { Text = s1 }); |
mTemp.Controls.Add(new LiteralControl("<br/>")); |
mTemp.Controls.Add(new Label() { Text = s2 }); |
return mTemp; |
} |