or
<
CommandItemTemplate
>
<
asp:LinkButton
ID
=
"LinkButton1"
CommandName
=
"UpdateChanges"
runat
=
"server"
>Update all</
asp:LinkButton
>
</
CommandItemTemplate
>
<CommandItemTemplate> |
<asp:ImageButton ID="ExportToExcel" runat="server" OnClick="ExportToExcel_Click" /> |
</CommandItemTemplate> |
protected void ImageButton2_Click(object sender, ImageClickEventArgs e) |
{ |
RadGrid1.ExportSettings.ExportOnlyData = true; RadGrid1.ExportSettings.IgnorePaging = true; RadGrid1.ExportSettings.OpenInNewWindow = true; |
RadGrid1.MasterTableView.ExportToExcel(); |
} |
public class Entry
{
public string Company {get;set;}
public Dictionary<
Attribute
,AttributeValue> Attributes {get;set;}
}
public class Attribute
{
public int AttributeId {get;set;}
public string AttributeName {get;set;}
}
public class AttributeValue
{
public int Id {get;set;}
public string ValueName {get;set;}
}
<%= RadDockingZone1.FindControl("Dock0").ClientID %>